From 4c6a1bdb10a2c554aedb6bb75a24ca61ef421d6d Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Mon, 29 Oct 2012 07:56:23 +0200 Subject: [user-share] declare the x_fd variable as unused Fixes a GCC warning about set but not used variables. https://bugzilla.gnome.org/show_bug.cgi?id=676515 http://git.gnome.org/browse/gnome-user-share/commit/?id=ba5961cb3973df00a2260adc2826ec49077c2484 --- src/user_share.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user_share.c') diff --git a/src/user_share.c b/src/user_share.c index a646b84..91e9d69 100644 --- a/src/user_share.c +++ b/src/user_share.c @@ -427,7 +427,7 @@ main (int argc, char **argv) { GSettings *settings; Display *xdisplay; - int x_fd; + G_GNUC_UNUSED x_fd; Window selection_owner; Atom xatom; -- cgit v1.2.1