diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-01-04 12:44:43 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-01-04 12:58:54 +0000 |
commit | 240b8f048945a129aacb1e84c7e7b66cf0d5bff1 (patch) | |
tree | b28f750b51d0c108d4e48f898f6598da96533ac5 /base/gsiorom.c | |
parent | 8db551f3a3e949035889fcb63188764ca61ab8c1 (diff) | |
download | ghostpdl-240b8f048945a129aacb1e84c7e7b66cf0d5bff1.tar.gz |
Squash Warnings: Unused Var/Var set but not used.
Diffstat (limited to 'base/gsiorom.c')
-rw-r--r-- | base/gsiorom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gsiorom.c b/base/gsiorom.c index 1f15593c8..167c62651 100644 --- a/base/gsiorom.c +++ b/base/gsiorom.c @@ -224,7 +224,7 @@ s_block_read_process(stream_state * st, stream_cursor_read * ignore_pr, } /* Decompress the data into this block */ code = uncompress (dest, &buflen, block_data, block_length); - if (count != buflen) + if (code != Z_OK || count != buflen) return ERRC; if (need_copy) { memcpy(pw->ptr+1, dest, max_count); |