aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-08 14:46:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-08 14:46:05 +0000
commit3347ced89962af92d98ccba988ad39b6fceb320e (patch)
treee50dfc8ab75f260e6c4ec32634a3c10a0bd48bd5 /src/main.c
parent592686bee98b50093c11245466552eaf6e0b92f1 (diff)
added a default in the switch in an attempt to avoid the moot "will never be
executed" warning by gcc 3.4.0
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
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 */