Fix bug 3251, 'A translated In-Reply-To header is sent translated'
[claws.git] / src / gtk / headers.h
index c16c9c39d6e3b920f4abe1c742b8ca9a20493b89..8e0b4472aab991ccdec2ec971e2d4ff30da85ed1 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:") },
@@ -62,4 +63,6 @@ static struct {
        { N_("In reply to"),                              N_("In reply to:") },
        { N_("To or Cc"),                                         N_("To or Cc:") },
        { N_("From, To or Subject"),              N_("From, To or Subject:") },
+
+       { NULL, NULL }
 };