1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

multi: Remove 10-year old out-commented code

The code hasn't been touched since 2010-08-18

Closes #5805
This commit is contained in:
Emil Engler 2020-08-12 11:58:11 +02:00 committed by Daniel Stenberg
parent cb8cf9d70f
commit da901fefe0
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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: