Remove un-necessary test, msginfo can't be null here, solves CID#1436912.
authorwwp <wwp@free.fr>
Mon, 11 Jun 2018 08:02:37 +0000 (10:02 +0200)
committerwwp <wwp@free.fr>
Mon, 11 Jun 2018 08:02:37 +0000 (10:02 +0200)
src/messageview.c

index 558ab6b..1e675b6 100644 (file)
@@ -1473,7 +1473,7 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo,
                g_free(subject);
        }
 
-       if (msginfo && msginfo->folder) {
+       if (msginfo->folder) {
                msginfo->folder->last_seen = msginfo->msgnum;   
        }