diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:27:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:30:57 +0200 |
commit | e58fccdadbc2cce57b13cd4a8fc2f546415b80db (patch) | |
tree | e4858c12ec718c8a713b7546f561896b1c0a8856 /hwpfilter/source/hiodev.cxx | |
parent | 591c3192275f0ac06227da09bb89179d42deddaa (diff) |
More loplugin:simplifybool
Change-Id: I64ec8a0525b935d12455f7ed236ffd367f47c070
Diffstat (limited to 'hwpfilter/source/hiodev.cxx')
-rw-r--r-- | hwpfilter/source/hiodev.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hiodev.cxx b/hwpfilter/source/hiodev.cxx index dd072b8c495b..03db63edd504 100644 --- a/hwpfilter/source/hiodev.cxx +++ b/hwpfilter/source/hiodev.cxx @@ -162,7 +162,7 @@ int HStreamIODev::state() const bool HStreamIODev::setCompressed(bool flag) { compressed = flag; - if (flag == true) + if (flag) return 0 != (_gzfp = gz_open(*_stream)); else if (_gzfp) { |