easy: don't call Curl_trc_opt() in disabled-verbose builds

Follow-up to e12b39e133

Closes #11588
This commit is contained in:
Daniel Stenberg 2023-08-04 09:35:40 +02:00
parent a2a894f550
commit c15569bb41
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -320,6 +320,7 @@ void curl_global_cleanup(void)
*/
CURLcode curl_global_trace(const char *config)
{
#ifndef CURL_DISABLE_VERBOSE_STRINGS
CURLcode result;
global_init_lock();
@ -328,6 +329,10 @@ CURLcode curl_global_trace(const char *config)
global_init_unlock();
return result;
#else
(void)config;
return CURLE_OK;
#endif
}
/*