fix warnings.
[apps/madmutt.git] / main.c
diff --git a/main.c b/main.c
index d21f9ee..2e1b4d4 100644 (file)
--- a/main.c
+++ b/main.c
@@ -32,6 +32,7 @@
 #include "sort.h"
 #include "keymap.h"
 #include "mutt_idna.h"
+#include "mutt_sasl.h"
 
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
@@ -57,8 +58,6 @@ extern int optind;
 #include <depot.h>
 #elif defined(HAVE_GDBM)
 #include <gdbm.h>
-#elif defined(HAVE_DB4)
-#include <db.h>
 #endif
 #endif
 
@@ -176,9 +175,6 @@ static void show_version (void)
   printf ("  qdbm %s\n", dpversion);
 #elif defined(HAVE_GDBM)
   printf ("  gdbm %s\n", gdbm_version);
-#elif defined(HAVE_DB4)
-  printf ("  DB4 %d.%d.%d\n", DB_VERSION_MAJOR, DB_VERSION_MINOR,
-          DB_VERSION_PATCH);
 #endif
 #endif
 
@@ -187,11 +183,6 @@ static void show_version (void)
   puts (_("Compile Options:"));
 
   puts (
-#ifdef HOMESPOOL
-         "  +HOMESPOOL  "
-#else
-         "  -HOMESPOOL  "
-#endif
 #ifdef USE_SETGID
          "+USE_SETGID  "
 #else
@@ -231,11 +222,6 @@ static void show_version (void)
          "-HAVE_REGCOMP  "
 #endif
          "\n  "
-#ifdef HAVE_START_COLOR
-         "+HAVE_START_COLOR  "
-#else
-         "-HAVE_START_COLOR  "
-#endif
 #ifdef HAVE_TYPEAHEAD
          "+HAVE_TYPEAHEAD  "
 #else
@@ -282,12 +268,6 @@ static void show_version (void)
 #else
          "-HAVE_LANGINFO_CODESET  "
 #endif
-#ifdef HAVE_LANGINFO_YESEXPR
-         "+HAVE_LANGINFO_YESEXPR  "
-#else
-         "-HAVE_LANGINFO_YESEXPR  "
-#endif
-         "\n  "
 #ifdef HAVE_ICONV
          "+HAVE_ICONV  "
 #else
@@ -804,5 +784,6 @@ int main (int argc, char **argv)
   }
 
   luaM_shutdown();
+  mutt_sasl_shutdown();
   exit (0);
 }