mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
imap: merged two case-branches performing the same action
Fixes warning detected by PVS-Studio Fixes #4374
This commit is contained in:
parent
07c1af9226
commit
d0390a538a
@ -1306,6 +1306,7 @@ static CURLcode imap_statemach_act(struct connectdata *conn)
|
||||
break;
|
||||
|
||||
case IMAP_LIST:
|
||||
case IMAP_SEARCH:
|
||||
result = imap_state_listsearch_resp(conn, imapcode, imapc->state);
|
||||
break;
|
||||
|
||||
@ -1329,10 +1330,6 @@ static CURLcode imap_statemach_act(struct connectdata *conn)
|
||||
result = imap_state_append_final_resp(conn, imapcode, imapc->state);
|
||||
break;
|
||||
|
||||
case IMAP_SEARCH:
|
||||
result = imap_state_listsearch_resp(conn, imapcode, imapc->state);
|
||||
break;
|
||||
|
||||
case IMAP_LOGOUT:
|
||||
/* fallthrough, just stop! */
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user