From 9859a94c1002484ee5f824c05683a5b2484cbf49 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Mon, 26 Jan 2015 21:41:26 -0800 Subject: [PATCH] Remedy Coverity warning. [Randers-Pehrson] --- inflate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inflate.c b/inflate.c index 68aa4c3..82e39be 100644 --- a/inflate.c +++ b/inflate.c @@ -1490,8 +1490,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;