mirror of
https://github.com/curl/curl.git
synced 2026-04-24 13:32:13 +03:00
cookie: fix false positive "potentially uninitialized local variable"
Reviewed-by: Daniel Gustafsson Closes #8903
This commit is contained in:
parent
8f48b5d783
commit
dcaae6bb5b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue