Gisle Vanem's patch for variables that "might be used uninitialized"

This commit is contained in:
Daniel Stenberg 2004-01-16 09:17:04 +00:00
parent 27b7220f1b
commit 61e3d75def
4 changed files with 9 additions and 9 deletions

View file

@ -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 */