summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--walk.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/walk.cc b/walk.cc
index bf69692d..c5e93dfb 100644
--- a/walk.cc
+++ b/walk.cc
@@ -228,6 +228,9 @@ void related_transactions::flush()
}
}
} else {
+ // This code should only be reachable from the "output"
+ // command, since that is the only command which attempts to
+ // output auto or period entries.
transaction_xdata_t& xdata = transaction_xdata(**i);
if (! (xdata.dflags & TRANSACTION_HANDLED) &&
! ((*i)->flags & TRANSACTION_AUTO)) {