mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
altsvc: fix 'dsthost' may be used uninitialized in this function
This commit is contained in:
parent
2bf7d1b1d2
commit
74368dc6ae
@ -478,7 +478,7 @@ CURLcode Curl_altsvc_parse(struct Curl_easy *data,
|
||||
dstalpnid = alpn2alpnid(alpnbuf);
|
||||
p++;
|
||||
if(*p == '\"') {
|
||||
const char *dsthost;
|
||||
const char *dsthost = "";
|
||||
const char *value_ptr;
|
||||
char option[32];
|
||||
unsigned long num;
|
||||
|
Loading…
Reference in New Issue
Block a user