diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-11-08 14:46:05 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-11-08 14:46:05 +0000 |
commit | 3347ced89962af92d98ccba988ad39b6fceb320e (patch) | |
tree | e50dfc8ab75f260e6c4ec32634a3c10a0bd48bd5 | |
parent | 592686bee98b50093c11245466552eaf6e0b92f1 (diff) |
added a default in the switch in an attempt to avoid the moot "will never be
executed" warning by gcc 3.4.0
-rw-r--r-- | src/main.c | 2 |
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 */ |