summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 651bc762..0e719037 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -416,6 +416,9 @@ void changed_value_xacts::operator()(xact_t& xact)
void subtotal_xacts::report_subtotal(const char * spec_fmt)
{
+ if (component_xacts.empty())
+ return;
+
date_t start;
date_t finish;
foreach (xact_t * xact, component_xacts) {