From 9e848439d8dc32d47bc41b45fbc758801c3f9a31 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 8 Apr 2024 09:49:11 +0200 Subject: [PATCH] curl_trc: fix build error when lacking verbose messages Follow-up from 0b28ece657b2273 Closes #13312 --- lib/curl_trc.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/curl_trc.h b/lib/curl_trc.h index 1440f49623..f64150feaf 100644 --- a/lib/curl_trc.h +++ b/lib/curl_trc.h @@ -138,9 +138,9 @@ void Curl_trc_read(struct Curl_easy *data, #else /* defined(CURL_DISABLE_VERBOSE_STRINGS) */ /* All informational messages are not compiled in for size savings */ -#define Curl_trc_is_verbose(d) ((void)(d), FALSE) -#define Curl_trc_cf_is_verbose(x,y) ((void)(x), (void)(y), FALSE) -#define Curl_trc_ft_is_verbose(x,y) ((void)(x), (void)(y), FALSE) +#define Curl_trc_is_verbose(d) (FALSE) +#define Curl_trc_cf_is_verbose(x,y) (FALSE) +#define Curl_trc_ft_is_verbose(x,y) (FALSE) static void Curl_infof(struct Curl_easy *data, const char *fmt, ...) { @@ -154,6 +154,8 @@ static void Curl_trc_cf_infof(struct Curl_easy *data, (void)data; (void)cf; (void)fmt; } +struct curl_trc_feat; + static void Curl_trc_ft_infof(struct Curl_easy *data, struct curl_trc_feat *ft, const char *fmt, ...) -- 2.47.3