mirror of
https://github.com/curl/curl.git
synced 2026-05-02 16:17:52 +03: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
1 changed files with 1 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue