From da901fefe099708d81de6c413838ca9f1f48cbda Mon Sep 17 00:00:00 2001 From: Emil Engler Date: Wed, 12 Aug 2020 11:58:11 +0200 Subject: [PATCH] multi: Remove 10-year old out-commented code The code hasn't been touched since 2010-08-18 Closes #5805 --- lib/multi.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/multi.c b/lib/multi.c index 75c76e819..b3a75e137 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -984,19 +984,6 @@ static int multi_getsock(struct Curl_easy *data, switch(data->mstate) { default: -#if 0 /* switch back on these cases to get the compiler to check for all enums - to be present */ - case CURLM_STATE_TOOFAST: /* returns 0, so will not select. */ - case CURLM_STATE_COMPLETED: - case CURLM_STATE_MSGSENT: - case CURLM_STATE_INIT: - case CURLM_STATE_CONNECT: - case CURLM_STATE_WAITDO: - case CURLM_STATE_DONE: - case CURLM_STATE_LAST: - /* this will get called with CURLM_STATE_COMPLETED when a handle is - removed */ -#endif return 0; case CURLM_STATE_WAITRESOLVE: