]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: Coverity Scan, #if - else -#endif statement most likely one row row.
authoriceman1001 <iceman@iuse.se>
Tue, 19 Jan 2016 19:55:55 +0000 (20:55 +0100)
committericeman1001 <iceman@iuse.se>
Tue, 19 Jan 2016 19:55:55 +0000 (20:55 +0100)
zlib/inflate.c

index 091b9a22fe87d53992535cf57fa2a2099c4fb61b..4e9c07ce5424829aebdb3eb6d9e599d57da734a7 100644 (file)
@@ -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;
 
     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
 #ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR
+    state->sane = !subvert;
     return Z_OK;
 #else
     state->sane = 1;
     return Z_OK;
 #else
     state->sane = 1;
Impressum, Datenschutz