summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEmil Engler <me@emilengler.com>2020-08-12 11:58:11 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-12 15:28:46 +0200
commitda901fefe099708d81de6c413838ca9f1f48cbda (patch)
tree4e836786be9cb087787500806c0e51563b5f32bc /lib
parentcb8cf9d70f6c4768c793bbfe18c27606689583cd (diff)
downloadcurl-da901fefe099708d81de6c413838ca9f1f48cbda.tar.gz
multi: Remove 10-year old out-commented code
The code hasn't been touched since 2010-08-18 Closes #5805
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c13
1 files changed, 0 insertions, 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: