summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc2
1 files changed, 2 insertions, 0 deletions
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)