diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-23 17:27:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-23 21:08:21 +0100 |
commit | 028769528d1835c9069eb7e717a1aa2186c51351 (patch) | |
tree | 86b0d2b1038101d961b04a4d48a4eb1141399dec /hwpfilter | |
parent | b1166d7b05845798fdc3016c37fe6932331c1ba3 (diff) |
cppcheck: silence assertWithSideEffect
Change-Id: Iaaf69ea5e8d5eeaa3a61660c3abe04ff3e83d061
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpeq.cxx | 2 |
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; |