Updating branch refs/heads/master to 16066bea47e26e342be40d5ac2745bf5eb3958d1 (commit) from a9629255ab6a75b6ad4b4d577335debceed02fe5 (commit)
commit 16066bea47e26e342be40d5ac2745bf5eb3958d1 Author: Nick Schermer <n...@xfce.org> Date: Fri Apr 22 20:39:45 2011 +0200 Avoid gcc 4.6 compiler warning. xfconfd/main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xfconfd/main.c b/xfconfd/main.c index 72e90e1..e7cbf9e 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)); } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits