diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:34:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:30 +0200 |
commit | 877fe59c4e398e6b9b2d4a8ea9904a59203fcd26 (patch) | |
tree | 994862eeb0bb57dcc39316110c98aa6dfc31b467 /tools/source/zcodec/zcodec.cxx | |
parent | e710c1dbfb87a54d666752db1106b76e9e05ba43 (diff) |
loplugin:simplifybool
Change-Id: Id1c743da4294b667438a2c075de4634bb2c85ff3
Diffstat (limited to 'tools/source/zcodec/zcodec.cxx')
-rw-r--r-- | tools/source/zcodec/zcodec.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/zcodec/zcodec.cxx b/tools/source/zcodec/zcodec.cxx index fdb28829d3c4..d6bce145a188 100644 --- a/tools/source/zcodec/zcodec.cxx +++ b/tools/source/zcodec/zcodec.cxx @@ -380,7 +380,7 @@ void ZCodec::InitDecompress(SvStream & inStream) if ( nFlags & GZ_HEAD_CRC ) inStream.SeekRel( 2 ); if ( mbStatus ) - mbStatus = ( inflateInit2( PZSTREAM, -MAX_WBITS) != Z_OK ) ? false : true; + mbStatus = inflateInit2( PZSTREAM, -MAX_WBITS) == Z_OK; } else { |