[gnome-user-share] user-share: mark the x_fd variable as unused



commit ba5961cb3973df00a2260adc2826ec49077c2484
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 21 14:45:04 2012 -0400

    user-share: mark 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

 src/user_share.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/user_share.c b/src/user_share.c
index 07af178..87deae6 100644
--- a/src/user_share.c
+++ b/src/user_share.c
@@ -438,7 +438,7 @@ main (int argc, char **argv)
 {
 	GConfClient *client;
 	Display *xdisplay;
-	int x_fd;
+	G_GNUC_UNUSED int x_fd;
 	Window selection_owner;
 	Atom xatom;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]