diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-09-10 17:09:05 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-09-10 19:10:14 +0200 |
commit | e41e1b2a4d96cef619e68b5235844b074c2001bc (patch) | |
tree | 785f47f32fa21726b3509f2ba2ae6425022b16a5 | |
parent | 94da56269f3b77d6602c383cf06b0ce5987fae4f (diff) | |
download | curl-e41e1b2a4d96cef619e68b5235844b074c2001bc.tar.gz |
url: fix compiler warning in no-verbose builds
Follow-up from 2f0bb864c12
Closes #7700
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1893,9 +1893,11 @@ static void zonefrom_url(CURLU *uh, struct Curl_easy *data, scopeidx = if_nametoindex(zoneid); #endif if(!scopeidx) { +#ifndef CURL_DISABLE_VERBOSE_STRINGS char buffer[STRERROR_LEN]; infof(data, "Invalid zoneid: %s; %s", zoneid, Curl_strerror(errno, buffer, sizeof(buffer))); +#endif } else conn->scope_id = scopeidx; |