mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
http2: fix potentially uninitialized variable
introduced several days ago in 3193170
. caught by visual studio linker.
This commit is contained in:
parent
77fc3859b2
commit
ba0d3c28ca
@ -499,7 +499,7 @@ static int set_transfer_url(struct Curl_easy *data,
|
||||
const char *v;
|
||||
CURLU *u = curl_url();
|
||||
CURLUcode uc;
|
||||
char *url;
|
||||
char *url = NULL;
|
||||
int rc = 0;
|
||||
|
||||
v = curl_pushheader_byname(hp, ":scheme");
|
||||
|
Loading…
Reference in New Issue
Block a user