mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 11:35:07 -05: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