1
0
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:
Jay Satiro 2021-05-05 03:16:06 -04:00
parent 77fc3859b2
commit ba0d3c28ca

View File

@ -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");