Suppress warning "'nread' might be used uninitialized in this function".

This commit is contained in:
Gisle Vanem 2007-02-04 12:18:22 +00:00
parent a7748c2024
commit 6a175b42db
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ int Curl_read(struct connectdata *conn, /* connection data */
size_t sizerequested, /* max amount to read */
ssize_t *n) /* amount bytes read */
{
ssize_t nread;
ssize_t nread = 0;
size_t bytesfromsocket = 0;
char *buffertofill = NULL;
bool pipelining = (bool)(conn->data->multi &&