mirror of
https://github.com/moparisthebest/curl
synced 2024-11-13 21:15:08 -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);
|
dstalpnid = alpn2alpnid(alpnbuf);
|
||||||
p++;
|
p++;
|
||||||
if(*p == '\"') {
|
if(*p == '\"') {
|
||||||
const char *dsthost;
|
const char *dsthost = "";
|
||||||
const char *value_ptr;
|
const char *value_ptr;
|
||||||
char option[32];
|
char option[32];
|
||||||
unsigned long num;
|
unsigned long num;
|
||||||
|
Loading…
Reference in New Issue
Block a user