From 5e3e204766bc5ce0f6335d12de0c4f0f03f20d00 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 10 Feb 2012 19:58:06 -1000 Subject: Do not evaluate strings as booleans --- src/post.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/post.cc') diff --git a/src/post.cc b/src/post.cc index 4178c8bc..862460df 100644 --- a/src/post.cc +++ b/src/post.cc @@ -558,7 +558,7 @@ std::size_t post_t::xact_id() const return id; id++; } - assert(! "Failed to find posting within its transaction"); + assert("Failed to find posting within its transaction" == NULL); return 0; } @@ -570,7 +570,7 @@ std::size_t post_t::account_id() const return id; id++; } - assert(! "Failed to find posting within its transaction"); + assert("Failed to find posting within its transaction" == NULL); return 0; } -- cgit v1.2.3