diff --git a/tests/unit/unit2600.c b/tests/unit/unit2600.c index b52db81a99..d6a3501755 100644 --- a/tests/unit/unit2600.c +++ b/tests/unit/unit2600.c @@ -133,9 +133,12 @@ struct cf_test_ctx { static void cf_test_destroy(struct Curl_cfilter *cf, struct Curl_easy *data) { struct cf_test_ctx *ctx = cf->ctx; - +#ifndef CURL_DISABLE_VERBOSE_STRINGS infof(data, "%04dms: cf[%s] destroyed", (int)Curl_timediff(Curl_now(), current_tr->started), ctx->id); +#else + (void)data; +#endif free(ctx); cf->ctx = NULL; }