added a default in the switch in an attempt to avoid the moot "will never be
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Nov 2004 14:46:05 +0000 (14:46 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Nov 2004 14:46:05 +0000 (14:46 +0000)
executed" warning by gcc 3.4.0

src/main.c

index e670f19..2fdb1eb 100644 (file)
@@ -1562,6 +1562,8 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
         if(str2num(&config->retry_maxtime, nextarg))
           return PARAM_BAD_NUMERIC;
         break;
+      default:
+        break;
       }
       break;
     case '#': /* added 19990617 larsa */