From: Daniel Stenberg Date: Mon, 8 Nov 2004 14:46:05 +0000 (+0000) Subject: added a default in the switch in an attempt to avoid the moot "will never be X-Git-Tag: curl-7_12_3~239 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3347ced89962af92d98ccba988ad39b6fceb320e;p=curl added a default in the switch in an attempt to avoid the moot "will never be executed" warning by gcc 3.4.0 --- diff --git a/src/main.c b/src/main.c index e670f194d..2fdb1eb24 100644 --- a/src/main.c +++ b/src/main.c @@ -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 */