From 0d6236f7e10468f75d09796ba9640c9054ab1f04 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 29 Jan 2004 13:54:08 +0000 Subject: make pedantic compiler options generate less warnings --- src/urlglob.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/urlglob.c') diff --git a/src/urlglob.c b/src/urlglob.c index e1be1834f..7f0409bf0 100644 --- a/src/urlglob.c +++ b/src/urlglob.c @@ -136,8 +136,11 @@ static GlobCode glob_set(URLGlob *glob, char *pattern, int pos, int *amount) ++pos; } } + /* we never reach this point */ +#if 0 snprintf(globerrormsg, sizeof(globerrormsg), "malformatted pattern"); return GLOB_ERROR; +#endif } static GlobCode glob_range(URLGlob *glob, char *pattern, int pos, int *amount) -- cgit v1.2.3