[gnome-power-manager] Mark variables as unused to satisfy gcc



commit a0eba9a7784bdad20f1b888dadb688cb8daacfa0
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 26 17:07:26 2011 -0500

    Mark variables as unused to satisfy gcc

 src/gpm-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gpm-main.c b/src/gpm-main.c
index 280ca93..491d370 100644
--- a/src/gpm-main.c
+++ b/src/gpm-main.c
@@ -206,14 +206,14 @@ int
 main (int argc, char *argv[])
 {
 	GDBusConnection *system_connection;
-	GDBusConnection *session_connection;
+	GDBusConnection *session_connection G_GNUC_UNUSED;
 	gboolean version = FALSE;
 	gboolean timed_exit = FALSE;
 	gboolean immediate_exit = FALSE;
 	GpmManager *manager = NULL;
 	GError *error = NULL;
 	GOptionContext *context;
-	gint policy_owner_id;
+	gint policy_owner_id G_GNUC_UNUSED;
 	guint timer_id;
 
 	const GOptionEntry options[] = {



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