From c8926138d12d2c074e52093db83cea3350fdab30 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 14 Aug 2001 08:17:29 +0000 Subject: commented out empty else blocks to shut up pedantic compilers --- lib/cookie.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib') 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" = 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) -- cgit v1.2.3