Skip to content
Snippets Groups Projects
Commit 58f7c82d authored by Yang Tse's avatar Yang Tse
Browse files

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

parent 4d1cd0da
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment