summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/report.cc2
-rw-r--r--src/xact.cc1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 38732bf8..5222829c 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -205,6 +205,8 @@ namespace {
report_t& report(find_scope<report_t>(args));
item_t& item(find_scope<item_t>(args));
+ // jww (2009-02-06): Should we be calling reported_date here?
+
date_t when;
if (report.HANDLED(effective)) {
if (optional<date_t> date = item.effective_date())
diff --git a/src/xact.cc b/src/xact.cc
index c154d31c..c9f38d56 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -38,6 +38,7 @@ namespace ledger {
date_t xact_t::date() const
{
+ // jww (2009-02-06): Why isn't reported_date called here?
if (! _date) {
assert(entry);
return entry->date();