diff options
author | Jasmine Hassan <[email protected]> | 2012-10-29 07:56:23 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-10-29 15:23:13 +0200 |
commit | 4c6a1bdb10a2c554aedb6bb75a24ca61ef421d6d (patch) | |
tree | a53627f740a69cd4674ca95c38a95c7f7af3bd71 /src | |
parent | 67a0c3eda9daf320470855a2417a7ddb8e16a43a (diff) | |
download | mate-user-share-4c6a1bdb10a2c554aedb6bb75a24ca61ef421d6d.tar.bz2 mate-user-share-4c6a1bdb10a2c554aedb6bb75a24ca61ef421d6d.tar.xz |
[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
Diffstat (limited to 'src')
-rw-r--r-- | 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 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; |