mirror of
https://github.com/curl/curl.git
synced 2026-06-27 21:23:11 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue