make the compiler be quiet. patch by Christian Hesse
authorPaul <paul@claws-mail.org>
Wed, 16 Jul 2014 14:49:16 +0000 (15:49 +0100)
committerPaul <paul@claws-mail.org>
Wed, 16 Jul 2014 14:49:16 +0000 (15:49 +0100)
src/gtk/headers.h

index c16c9c39d6e3b920f4abe1c742b8ca9a20493b89..0a4c2e10e556a7a9efb84a6e95dbeaa851d2c325 100644 (file)
@@ -2,8 +2,9 @@
 static struct {
        const gchar *header_name;
        const gchar *header_name_w_colon;
-} HEADERS[] = {
-
+/* Compiler thinks this is unused. State so and make it shut up.
+ * We do need this for header translations. */
+} HEADERS[] __attribute__((unused)) = {
        /* RFC2822 */
        { N_("Date"),                                             N_("Date:") },
        { N_("From"),                                             N_("From:") },