From 7bb83173dae617b8e754fff8e52390ff9664873b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 7 Mar 2012 08:34:15 -0600 Subject: Added some missing DEBUG #if's --- src/xact.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/xact.cc') 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; -- cgit v1.2.3