diff options
author | Scott Balneaves <[email protected]> | 2012-11-13 21:44:26 -0600 |
---|---|---|
committer | Scott Balneaves <[email protected]> | 2012-11-13 21:44:26 -0600 |
commit | dee0e9ab8f63d1b022a7ac011a921db48acc1cd7 (patch) | |
tree | f96d65ab4c9c2bbd8040e62f77a0bb9bc6ad9c74 /mate-session/gsm-autostart-app.c | |
parent | 933f891732a533179682015e1d194a40293f6c9b (diff) | |
download | mate-session-manager-dee0e9ab8f63d1b022a7ac011a921db48acc1cd7.tar.bz2 mate-session-manager-dee0e9ab8f63d1b022a7ac011a921db48acc1cd7.tar.xz |
Fix all compile warnings.
Diffstat (limited to 'mate-session/gsm-autostart-app.c')
-rw-r--r-- | mate-session/gsm-autostart-app.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mate-session/gsm-autostart-app.c b/mate-session/gsm-autostart-app.c index 5dd463b..ef22911 100644 --- a/mate-session/gsm-autostart-app.c +++ b/mate-session/gsm-autostart-app.c @@ -32,6 +32,12 @@ #include "gsm-autostart-app.h" #include "gsm-util.h" +#ifdef __GNUC__ +#define UNUSED_VARIABLE __attribute__ ((unused)) +#else +#define UNUSED_VARIABLE +#endif + enum { AUTOSTART_LAUNCH_SPAWN = 0, AUTOSTART_LAUNCH_ACTIVATE @@ -316,7 +322,7 @@ setup_condition_monitor (GsmAutostartApp *app) guint kind; char *key; gboolean res; - gboolean disabled; + gboolean UNUSED_VARIABLE disabled; if (app->priv->condition_monitor != NULL) { g_file_monitor_cancel (app->priv->condition_monitor); |