From: Joergen Ibsen Date: Mon, 9 Nov 2015 18:57:26 +0000 (+0100) Subject: Fix uninitialized variable X-Git-Tag: 1.9.9-b1~794^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F55%2Fhead;p=thirdparty%2Fzlib-ng.git Fix uninitialized variable --- diff --git a/deflate_p.h b/deflate_p.h index 2127792e..66504cdb 100644 --- a/deflate_p.h +++ b/deflate_p.h @@ -59,7 +59,7 @@ local inline Pos insert_string_sse(deflate_state *const s, const Pos str, uInt c #endif local inline Pos insert_string_c(deflate_state *const s, const Pos str, uInt count) { - Pos ret; + Pos ret = 0; uInt idx; for (idx = 0; idx < count; idx++) {