From 8ceb1addcda95b0733281ddc4d2062a0f03eefc6 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 19 Jan 2016 20:55:55 +0100 Subject: [PATCH] FIX: Coverity Scan, #if - else -#endif statement most likely one row row. --- zlib/inflate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zlib/inflate.c b/zlib/inflate.c index 091b9a22..4e9c07ce 100644 --- a/zlib/inflate.c +++ b/zlib/inflate.c @@ -1509,8 +1509,8 @@ int subvert; if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; state = (struct inflate_state FAR *)strm->state; - state->sane = !subvert; #ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR + state->sane = !subvert; return Z_OK; #else state->sane = 1; -- 2.39.2