Use bette error msg too
[apps/madmutt.git] / mutt_idna.c
index acfb102..c728e5e 100644 (file)
@@ -7,16 +7,12 @@
  * please see the file GPL in the top level source directory.
  */
 
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <lib-lib/lib-lib.h>
 
 #ifdef HAVE_LIBIDN
 #include <idna.h>
 #endif
 
-#include <lib-lib/lib-lib.h>
-
 #include "mutt.h"
 #include "charset.h"
 #include "mutt_idna.h"
@@ -25,7 +21,7 @@
 
 #ifndef HAVE_LIBIDN
 
-int mutt_idna_to_local (const char *in, char **out, int flags)
+int mutt_idna_to_local (const char *in, char **out, int flags __attribute__ ((unused)))
 {
   *out = m_strdup(in);
   return 1;