summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-23 17:27:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-23 21:08:21 +0100
commit028769528d1835c9069eb7e717a1aa2186c51351 (patch)
tree86b0d2b1038101d961b04a4d48a4eb1141399dec /hwpfilter
parentb1166d7b05845798fdc3016c37fe6932331c1ba3 (diff)
cppcheck: silence assertWithSideEffect
Change-Id: Iaaf69ea5e8d5eeaa3a61660c3abe04ff3e83d061
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hwpeq.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpeq.cxx b/hwpfilter/source/hwpeq.cxx
index baf3cf518543..7ea881504606 100644
--- a/hwpfilter/source/hwpeq.cxx
+++ b/hwpfilter/source/hwpeq.cxx
@@ -461,7 +461,7 @@ static eq_stack *stk = 0;
void push_token(MzString &white, MzString &token, istream *strm)
{
// one time stack
- assert(stk->state(strm) == false);
+ assert(stk->token.length() == 0);
stk->white = white;
stk->token = token;