mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
easy: don't call Curl_trc_opt() in disabled-verbose builds
Follow-up to e12b39e133
Closes #11588
This commit is contained in:
parent
a2a894f550
commit
c15569bb41
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user