1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

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 &&