gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 48/222: imap: merged two case-branches performing the same actio


From: gnunet
Subject: [gnurl] 48/222: imap: merged two case-branches performing the same action
Date: Thu, 07 Nov 2019 00:09:04 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit d0390a538aa0ee220e865580f5cede7315c441fd
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Sep 19 09:52:01 2019 +0200

    imap: merged two case-branches performing the same action
    
    Fixes warning detected by PVS-Studio
    Fixes #4374
---
 lib/imap.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/imap.c b/lib/imap.c
index ff9b62947..66172bddc 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -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:

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]