summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-07 08:34:15 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-07 08:34:15 -0600
commit7bb83173dae617b8e754fff8e52390ff9664873b (patch)
tree53fb7d1b4d81299f3095006730984d7ad0143403 /src/xact.cc
parent04f884b14fd7cc396c9d442685df8489ae7e8a15 (diff)
downloadfork-ledger-7bb83173dae617b8e754fff8e52390ff9664873b.tar.gz
fork-ledger-7bb83173dae617b8e754fff8e52390ff9664873b.tar.bz2
fork-ledger-7bb83173dae617b8e754fff8e52390ff9664873b.zip
Added some missing DEBUG #if's
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 4ec40f69..4e43e680 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -346,7 +346,9 @@ bool xact_base_t::finalize()
as_annotated_commodity(*pair.first).details :
annotation_t()),
pair.second));
+#if defined(DEBUG_ON)
assert(result.second);
+#endif
}
bool first = true;