mirror of
https://github.com/curl/curl.git
synced 2026-07-23 21:17:17 +03:00
fix compiler warning: 'dot_4' may be used uninitialized in this function
This commit is contained in:
parent
27db045095
commit
31a3432a8e
1 changed files with 1 additions and 0 deletions
|
|
@ -551,6 +551,7 @@ static void find_country_from_cname(const char *cname, struct in_addr addr)
|
|||
z0 = tolower(cname[0]);
|
||||
z1 = tolower(cname[1]);
|
||||
ccopy = strdup(cname);
|
||||
dot_4 = NULL;
|
||||
|
||||
ver_1 = (z0 == 'z' && z1 == 'z' && !strcasecmp(cname+4,nerd_ver1));
|
||||
ver_2 = (is_addr(ccopy,&dot_4) && !strcasecmp(dot_4,nerd_ver2));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue