diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-15 00:31:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-15 00:31:18 +0200 |
commit | 4e66207c580bbf2e05968aa1b99ce7388a3b55c1 (patch) | |
tree | 8e5cd4d328ef9e545b6479191e72e67cd9dc8c69 | |
parent | 182ff2d63c9a25c14ee1e7dc9e6d63e9079df677 (diff) | |
download | curl-4e66207c580bbf2e05968aa1b99ce7388a3b55c1.tar.gz |
tool_urlglob: fix compiler warning "unreachable code"
(On Windows builds.)
Follow-up to 70a3b003d9
-rw-r--r-- | src/tool_urlglob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c index 96c514493..23238b14b 100644 --- a/src/tool_urlglob.c +++ b/src/tool_urlglob.c @@ -698,8 +698,8 @@ CURLcode glob_match_url(char **result, char *filename, struct URLGlob *glob) *result = sanitized; return CURLE_OK; } -#endif /* MSDOS || WIN32 */ - +#else *result = curlx_dyn_ptr(&dyn); return CURLE_OK; +#endif /* MSDOS || WIN32 */ } |