]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix uninitialized variable 55/head
authorJoergen Ibsen <jibz-git@stdip.com>
Mon, 9 Nov 2015 18:57:26 +0000 (19:57 +0100)
committerJoergen Ibsen <jibz-git@stdip.com>
Mon, 9 Nov 2015 18:57:26 +0000 (19:57 +0100)
deflate_p.h

index 2127792e05f67a21a7a2dfcca99b62ec9001d4c9..66504cdb07976dc58cf2158c6286548c72e90e77 100644 (file)
@@ -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++) {