diff options
author | Scott Balneaves <[email protected]> | 2012-11-18 21:04:56 -0600 |
---|---|---|
committer | Scott Balneaves <[email protected]> | 2012-11-18 21:04:56 -0600 |
commit | 879bd3789e84f31d90cf1b46a2985c6e78685609 (patch) | |
tree | 31c1ebf3bda44cd1f8c5fb27de356caf3037567f /maximus/xutils.c | |
parent | 98be82c4742bf3a5be20d07d70b1a81beadda4f5 (diff) | |
download | mate-netbook-879bd3789e84f31d90cf1b46a2985c6e78685609.tar.bz2 mate-netbook-879bd3789e84f31d90cf1b46a2985c6e78685609.tar.xz |
Fix some warnings, and one deprecation on g_thread_init()
Diffstat (limited to 'maximus/xutils.c')
-rw-r--r-- | maximus/xutils.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/maximus/xutils.c b/maximus/xutils.c index f131f81..4e79569 100644 --- a/maximus/xutils.c +++ b/maximus/xutils.c @@ -27,6 +27,12 @@ #include <stdio.h> #include <libmatewnck/libmatewnck.h> +#ifdef __GNUC__ +#define UNUSED_VARIABLE __attribute__ ((unused)) +#else +#define UNUSED_VARIABLE +#endif + void _matewnck_error_trap_push (void) { @@ -64,7 +70,7 @@ _matewnck_get_wmclass (Window xwindow, char **res_name) { XClassHint ch; - char *retval; + char UNUSED_VARIABLE *retval; _matewnck_error_trap_push (); |