summaryrefslogtreecommitdiff
path: root/lib/content_encoding.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-16 09:17:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-16 09:17:04 +0000
commit61e3d75def4ca1789a847fe57b06ab25ede05731 (patch)
treec0427949550579dcd921dee721415b9ab9ca72d4 /lib/content_encoding.c
parent27b7220f1b536f3854d9fa35d0bd12321ac858e3 (diff)
downloadcurl-61e3d75def4ca1789a847fe57b06ab25ede05731.tar.gz
Gisle Vanem's patch for variables that "might be used uninitialized"
Diffstat (limited to 'lib/content_encoding.c')
-rw-r--r--lib/content_encoding.c4
1 files changed, 2 insertions, 2 deletions
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 */