From 79740bf38c4464f01678eae1a798fc9e2f85e7f4 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 20 Feb 2025 21:18:00 +0100 Subject: [PATCH] formatting --- lib/curl_setup_once.h | 2 +- lib/mprintf.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/curl_setup_once.h b/lib/curl_setup_once.h index 016355b109..343f35a8b0 100644 --- a/lib/curl_setup_once.h +++ b/lib/curl_setup_once.h @@ -286,7 +286,7 @@ typedef unsigned int bit; */ #undef DEBUGASSERT -#if defined(DEBUGBUILD) +#ifdef DEBUGBUILD #define DEBUGASSERT(x) assert(x) #else #define DEBUGASSERT(x) do { } while(0) diff --git a/lib/mprintf.c b/lib/mprintf.c index 29464876cc..09b21bc998 100644 --- a/lib/mprintf.c +++ b/lib/mprintf.c @@ -1189,7 +1189,6 @@ int curl_mprintf(const char *format, ...) int retcode; va_list ap_save; /* argument pointer */ va_start(ap_save, format); - retcode = formatf(stdout, fputc_wrapper, format, ap_save); va_end(ap_save); return retcode;