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;