mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38: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:
parent
cb8cf9d70f
commit
da901fefe0
13
lib/multi.c
13
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:
|
||||
|
Loading…
Reference in New Issue
Block a user