cookie: fix false positive "potentially uninitialized local variable"
Reviewed-by: Daniel Gustafsson Closes #8903
This commit is contained in:
parent
8f48b5d783
commit
dcaae6bb5b
@ -469,7 +469,7 @@ Curl_cookie_add(struct Curl_easy *data,
|
||||
struct Cookie *co;
|
||||
struct Cookie *lastc = NULL;
|
||||
struct Cookie *replace_co = NULL;
|
||||
struct Cookie *replace_clist;
|
||||
struct Cookie *replace_clist = NULL;
|
||||
time_t now = time(NULL);
|
||||
bool replace_old = FALSE;
|
||||
bool badcookie = FALSE; /* cookies are good by default. mmmmm yummy */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user