Missing return.
[apps/madmutt.git] / main.c
diff --git a/main.c b/main.c
index 835f5f7..c2d06c5 100644 (file)
--- a/main.c
+++ b/main.c
@@ -138,11 +138,6 @@ static void show_version (void)
     puts (_("Compile Options:"));
 
     puts (
-#ifdef USE_SETGID
-        "  +USE_SETGID"
-#else
-        "  -USE_SETGID"
-#endif
 #ifdef USE_FCNTL
         "  +USE_FCNTL"
 #else
@@ -252,9 +247,6 @@ int main (int argc, char **argv)
   srand48 (time (NULL));
   umask (077);
 
-  p_clear(Options, countof(Options));
-  p_clear(QuadOptions, countof(QuadOptions));
-
   while ((i = getopt(argc, argv, "a:b:F:f:c:e:H:s:i:hnpRTtvyzZ"
 #ifdef USE_NNTP
                                                                     "g:G"
@@ -583,10 +575,9 @@ int main (int argc, char **argv)
 
     mutt_folder_hook (folder);
 
-    if ((Context = mx_open_mailbox (folder, ((flags & M_RO)
-                                             || option (OPTREADONLY)) ?
-                                    M_READONLY : 0, NULL))
-        || !explicit_folder) {
+    if ((Context = mx_open_mailbox(folder, (flags & M_RO) ?  M_READONLY : 0,
+                                   NULL)) || !explicit_folder)
+    {
       mutt_index_menu ();
       if (option (OPTXTERMSETTITLES))
         printf("\033]2;%s\007", NONULL(XtermLeave));