summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 006258a)
raw | patch | inline | side by side (parent: 006258a)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Thu, 15 Sep 2011 17:14:53 +0000 (19:14 +0200) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Fri, 16 Sep 2011 19:53:34 +0000 (21:53 +0200) |
Mark charset as G_GNUC_UNUSED if ncmpc hasn't been configured with NLS.
src/main.c | patch | blob | history |
diff --git a/src/main.c b/src/main.c
index c597e96c766a122d3a6cda681c802f8de84e5ab9..a57f35dfcf27f610fe44972828b23af34b3c76f1 100644 (file)
--- a/src/main.c
+++ b/src/main.c
{
struct sigaction act;
#ifdef ENABLE_LOCALE
+#ifndef ENABLE_NLS
+ G_GNUC_UNUSED
+#endif
const char *charset = NULL;
#endif
GIOChannel *keyboard_channel;