1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

http: remove superfluous NULL assign

Closes #6727
This commit is contained in:
Daniel Stenberg 2021-03-11 16:04:56 +01:00
parent 985c184d5b
commit 4c0206f90b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -3023,10 +3023,8 @@ CURLcode Curl_http(struct Curl_easy *data, bool *done)
if(!data->state.aptr.accept_encoding)
return CURLE_OUT_OF_MEMORY;
}
else {
else
Curl_safefree(data->state.aptr.accept_encoding);
data->state.aptr.accept_encoding = NULL;
}
#ifdef HAVE_LIBZ
/* we only consider transfer-encoding magic if libz support is built-in */