[Xfce4-commits] <xfconf:xfce-4.8> Avoid gcc 4.6 compiler warning.
Nick Schermer
noreply at xfce.org
Fri Dec 23 17:08:02 CET 2011
Updating branch refs/heads/xfce-4.8
to 98d7172cd548497322478caf8f8b2534e0868bb7 (commit)
from 1e89ed2cce441cd0af0c987dac7010e74bbe942d (commit)
commit 98d7172cd548497322478caf8f8b2534e0868bb7
Author: Nick Schermer <nick at xfce.org>
Date: Fri Apr 22 20:39:45 2011 +0200
Avoid gcc 4.6 compiler warning.
(cherry picked from commit 16066bea47e26e342be40d5ac2745bf5eb3958d1)
xfconfd/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xfconfd/main.c b/xfconfd/main.c
index 2d8a80f..859dfc4 100644
--- a/xfconfd/main.c
+++ b/xfconfd/main.c
@@ -67,7 +67,7 @@ static void
sighandler(int sig)
{
guint32 sigstate;
- gint avoid_gcc_warning;
+ gint avoid_gcc_warning G_GNUC_UNUSED;
switch(sig) {
case SIGUSR1:
@@ -78,7 +78,7 @@ sighandler(int sig)
sigstate = SIGNAL_QUIT;
break;
}
-
+
avoid_gcc_warning = write(signal_pipe[1], &sigstate, sizeof(sigstate));
}
More information about the Xfce4-commits
mailing list