summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-29 09:51:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-29 10:12:49 +0100
commite0380df3ee1db7950be6ae5f03403fe4fbc07d7a (patch)
tree8810166f9af777112075c793b43cc9de2b38d819 /hwpfilter
parent626fe1669f7062e04db60ce7757d1c7d32842b3a (diff)
sequence operator twaddle + silly cast
Change-Id: I8804bfb39d8306762cbe39ac4b6df9128a8e0069
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hgzip.cxx3
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;