From bb96e1606444e13dedbd082e74d750ab0e50377d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 27 Mar 2020 18:18:19 -0700 Subject: Add an assertion to src/xact.cc --- src/xact.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/xact.cc b/src/xact.cc index 60333004..b309b132 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -388,6 +388,8 @@ bool xact_base_t::finalize() bool some_null = false; foreach (post_t * post, posts) { + assert(post->account); + if (! post->amount.is_null()) { all_null = false; post->amount.in_place_reduce(); -- cgit v1.2.3