From 08679d89f53f76dd8e182286c7bac9b8710684b4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 3 Aug 2026 10:37:28 +0200 Subject: [PATCH] multi: remove #if 0'ed code that uses old struct Closes #22467 --- lib/multi.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/multi.c b/lib/multi.c index c2595b990a..7c815b3549 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -578,22 +578,6 @@ CURLMcode curl_multi_add_handle(CURLM *m, CURL *curl) return mresult; } -#if 0 -/* Debug-function, used like this: - * - * Curl_hash_print(&multi->sockhash, debug_print_sock_hash); - * - * Enable the hash print function first by editing hash.c - */ -static void debug_print_sock_hash(void *p) -{ - struct Curl_sh_entry *sh = (struct Curl_sh_entry *)p; - - curl_mfprintf(stderr, " [readers %u][writers %u]", - sh->readers, sh->writers); -} -#endif - struct multi_done_ctx { BIT(premature); };