summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-06 23:37:25 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-06 23:37:25 -0400
commitaea84dd9c5b7c28610e67d8f29554ce109f63dad (patch)
tree64dddc884f23dd13786fadff6ce4e91846784125 /src
parentcdcd52dbafc747b01a626cfd306209187a35b5fb (diff)
downloadfork-ledger-aea84dd9c5b7c28610e67d8f29554ce109f63dad.tar.gz
fork-ledger-aea84dd9c5b7c28610e67d8f29554ce109f63dad.tar.bz2
fork-ledger-aea84dd9c5b7c28610e67d8f29554ce109f63dad.zip
Added two comments, to remind myself to check something.
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();