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:
parent
4d1cd0da93
commit
58f7c82d52
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user