]> granicus.if.org Git - curl/commitdiff
nonsence change to make -Wunreachable-code get happy
authorDaniel Stenberg <daniel@haxx.se>
Thu, 29 Jan 2004 13:49:41 +0000 (13:49 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 29 Jan 2004 13:49:41 +0000 (13:49 +0000)
src/mkhelp.pl

index 75828f0e8b507d56d5732de5f3c7a14c11a6a695..3fef2bb3be68af3af35a5bd5d16018c81e7ccb73 100644 (file)
@@ -163,7 +163,7 @@ void hugehelp(void)
   if (inflateInit2(&z, -MAX_WBITS) != Z_OK)
     return;
 
-  for (;;) {
+  while(1) {
     z.avail_out = (int)sizeof(buf);
     z.next_out = buf;
     status = inflate(&z, Z_SYNC_FLUSH);
@@ -171,7 +171,8 @@ void hugehelp(void)
       fwrite(buf, sizeof(buf) - z.avail_out, 1, stdout);
       if (status == Z_STREAM_END)
          break;
-    } else
+    }
+     else
       break;    /* Error */
   }
   inflateEnd(&z);