From 61e3d75def4ca1789a847fe57b06ab25ede05731 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Jan 2004 09:17:04 +0000 Subject: Gisle Vanem's patch for variables that "might be used uninitialized" --- lib/content_encoding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/content_encoding.c') diff --git a/lib/content_encoding.c b/lib/content_encoding.c index da0b2f634..1eb465161 100644 --- a/lib/content_encoding.c +++ b/lib/content_encoding.c @@ -73,7 +73,7 @@ Curl_unencode_deflate_write(struct SessionHandle *data, ssize_t nread) { int status; /* zlib status */ - int result; /* Curl_client_write status */ + int result = CURLE_OK; /*?*/ /* Curl_client_write status */ char decomp[DSIZ]; /* Put the decompressed data here. */ z_stream *z = &k->z; /* zlib state structure */ @@ -217,7 +217,7 @@ Curl_unencode_gzip_write(struct SessionHandle *data, ssize_t nread) { int status; /* zlib status */ - int result; /* Curl_client_write status */ + int result = CURLE_OK; /*?*/ /* Curl_client_write status */ char decomp[DSIZ]; /* Put the decompressed data here. */ z_stream *z = &k->z; /* zlib state structure */ -- cgit v1.2.3