tests: fix unit1636 with --disable-progress-meter

Closes #21500
This commit is contained in:
Dan Fandrich 2026-05-04 20:56:51 -07:00
parent 455bebc2c7
commit 478e280278

View file

@ -23,6 +23,7 @@
***************************************************************************/
#include "unitcheck.h"
#ifndef CURL_DISABLE_PROGRESS_METER
static CURLcode test_unit1636(const char *arg)
{
UNITTEST_BEGIN_SIMPLE
@ -71,3 +72,11 @@ static CURLcode test_unit1636(const char *arg)
}
UNITTEST_END(curl_global_cleanup())
}
#else /* CURL_DISABLE_PROGRESS_METER */
static CURLcode test_unit1636(const char *arg)
{
(void)arg;
return CURLE_OK;
}
#endif