]> granicus.if.org Git - neomutt/commitdiff
Properly initialize more structs
authorRocco Rutte <pdmef@gmx.net>
Wed, 18 Mar 2009 16:40:50 +0000 (17:40 +0100)
committerRocco Rutte <pdmef@gmx.net>
Wed, 18 Mar 2009 16:40:50 +0000 (17:40 +0100)
init.h

diff --git a/init.h b/init.h
index ed9ca113799aee18f0b45ce4ace3003621d0d245..09b5faa209ca499fe5aeb5a315c6d5a9b66a8f2d 100644 (file)
--- a/init.h
+++ b/init.h
@@ -3304,7 +3304,7 @@ struct option_t MuttVars[] = {
   ** ``$tuning'' section of the manual for performance considerations.
   */
   /*--*/
-  { NULL }
+  { NULL, 0, 0, 0, 0 }
 };
 
 const struct mapping_t SortMethods[] = {
@@ -3319,7 +3319,7 @@ const struct mapping_t SortMethods[] = {
   { "to",              SORT_TO },
   { "score",           SORT_SCORE },
   { "spam",            SORT_SPAM },
-  { NULL,              0 }
+  { NULL,               0 }
 };
 
 /* same as SortMethods, but with "threads" replaced by "date" */
@@ -3338,7 +3338,7 @@ const struct mapping_t SortAuxMethods[] = {
   { "to",              SORT_TO },
   { "score",           SORT_SCORE },
   { "spam",            SORT_SPAM },
-  { NULL,              0 }
+  { NULL,               0 }
 };
 
 
@@ -3347,14 +3347,14 @@ const struct mapping_t SortBrowserMethods[] = {
   { "date",    SORT_DATE },
   { "size",    SORT_SIZE },
   { "unsorted",        SORT_ORDER },
-  { NULL }
+  { NULL,       0 }
 };
 
 const struct mapping_t SortAliasMethods[] = {
   { "alias",   SORT_ALIAS },
   { "address", SORT_ADDRESS },
   { "unsorted", SORT_ORDER },
-  { NULL }
+  { NULL,       0 }
 };
 
 const struct mapping_t SortKeyMethods[] = {
@@ -3362,7 +3362,7 @@ const struct mapping_t SortKeyMethods[] = {
   { "date",    SORT_DATE },
   { "keyid",   SORT_KEYID },
   { "trust",   SORT_TRUST },
-  { NULL }
+  { NULL,       0 }
 };
 
 
@@ -3470,5 +3470,5 @@ struct command_t Commands[] = {
   { "unscore",         mutt_parse_unscore,     0 },
   { "unset",           parse_set,              M_SET_UNSET },
   { "unsubscribe",     parse_unsubscribe,      0 },
-  { NULL }
+  { NULL,              NULL,                   0 }
 };