]> granicus.if.org Git - curl/commitdiff
commented out empty else blocks to shut up pedantic compilers
authorDaniel Stenberg <daniel@haxx.se>
Tue, 14 Aug 2001 08:17:29 +0000 (08:17 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 14 Aug 2001 08:17:29 +0000 (08:17 +0000)
lib/cookie.c

index 2585639b54fa1db20b520a1b5b04391e42ef86ce..3ec72250fd7809ca9cb73dbd0a1d8c091dd78e47 100644 (file)
@@ -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)