mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
commented out empty else blocks to shut up pedantic compilers
This commit is contained in:
parent
ab6c8a06e0
commit
c8926138d1
11
lib/cookie.c
11
lib/cookie.c
@ -169,9 +169,9 @@ Curl_cookie_add(struct CookieInfo *c,
|
||||
co->name = strdup(name);
|
||||
co->value = strdup(what);
|
||||
}
|
||||
else
|
||||
;/* this is the second (or more) name we don't know
|
||||
about! */
|
||||
/*
|
||||
else this is the second (or more) name we don't know
|
||||
about! */
|
||||
}
|
||||
else {
|
||||
/* this is an "illegal" <what>=<this> pair */
|
||||
@ -182,8 +182,9 @@ Curl_cookie_add(struct CookieInfo *c,
|
||||
what)) {
|
||||
if(strequal("secure", what))
|
||||
co->secure = TRUE;
|
||||
else
|
||||
; /* unsupported keyword without assign! */
|
||||
/* else,
|
||||
unsupported keyword without assign! */
|
||||
|
||||
}
|
||||
}
|
||||
if(!semiptr)
|
||||
|
Loading…
Reference in New Issue
Block a user