diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-29 09:51:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-29 10:12:49 +0100 |
commit | e0380df3ee1db7950be6ae5f03403fe4fbc07d7a (patch) | |
tree | 8810166f9af777112075c793b43cc9de2b38d819 /hwpfilter | |
parent | 626fe1669f7062e04db60ce7757d1c7d32842b3a (diff) |
sequence operator twaddle + silly cast
Change-Id: I8804bfb39d8306762cbe39ac4b6df9128a8e0069
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hgzip.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hwpfilter/source/hgzip.cxx b/hwpfilter/source/hgzip.cxx index c1eee1377a34..9d78c4d040bd 100644 --- a/hwpfilter/source/hgzip.cxx +++ b/hwpfilter/source/hgzip.cxx @@ -82,7 +82,8 @@ gz_stream *gz_open(HStream & _stream) if (err != Z_OK || s->inbuf == Z_NULL) { - return destroy(s), (gz_stream *) Z_NULL; + destroy(s); + return Z_NULL; } s->stream.avail_out = Z_BUFSIZE; |