aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-14 08:17:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-14 08:17:29 +0000
commitc8926138d12d2c074e52093db83cea3350fdab30 (patch)
treeca3491fe77ca1c3042162cd82e0ccb4589f4ad26
parentab6c8a06e046b172a24da81a45f3331af4a27a93 (diff)
commented out empty else blocks to shut up pedantic compilers
-rw-r--r--lib/cookie.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/cookie.c b/lib/cookie.c
index 2585639b5..3ec72250f 100644
--- a/lib/cookie.c
+++ b/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)