diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-01-29 13:54:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-29 13:54:08 +0000 |
commit | 0d6236f7e10468f75d09796ba9640c9054ab1f04 (patch) | |
tree | fd4b5e265de3a87c520b8dedcc83dde24cf48e71 /src/urlglob.c | |
parent | 0e4e72f193a83148df1377611ec7828b110b2715 (diff) | |
download | curl-0d6236f7e10468f75d09796ba9640c9054ab1f04.tar.gz |
make pedantic compiler options generate less warnings
Diffstat (limited to 'src/urlglob.c')
-rw-r--r-- | src/urlglob.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |