From 8129b65a70cc00f7a600bf32dd0efbb388d7f324 Mon Sep 17 00:00:00 2001 From: Joergen Ibsen Date: Mon, 9 Nov 2015 19:57:26 +0100 Subject: [PATCH] Fix uninitialized variable --- deflate_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deflate_p.h b/deflate_p.h index 2127792e0..66504cdb0 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++) {