1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Fix 'result' may be used uninitialized in function readwrite_data()

This commit is contained in:
Yang Tse 2008-08-12 19:09:20 +00:00
parent 4d1cd0da93
commit 58f7c82d52

View File

@ -353,7 +353,7 @@ static CURLcode readwrite_data(struct SessionHandle *data,
struct SingleRequest *k,
int *didwhat, bool *done)
{
CURLcode result;
CURLcode result = CURLE_OK;
ssize_t nread; /* number of bytes read */
bool is_empty_data = FALSE;