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/textual.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index 1d1835e3..66972fb3 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -950,7 +950,9 @@ void instance_t::account_alias_directive(account_t * account, string alias) #endif context.journal->account_aliases.insert (accounts_map::value_type(alias, account)); +#if defined(DEBUG_ON) assert(result.second); +#endif } void instance_t::alias_directive(char * line) -- cgit v1.2.3