From 3347ced89962af92d98ccba988ad39b6fceb320e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 8 Nov 2004 14:46:05 +0000 Subject: added a default in the switch in an attempt to avoid the moot "will never be executed" warning by gcc 3.4.0 --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.c') 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 */ -- cgit v1.2.3