[gnome-settings-daemon] power: Remove unused variable



commit 091282c030aea835ab6e574570f9ae872a7dba45
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 22 22:14:48 2013 +0100

    power: Remove unused variable

 plugins/power/gpm-common.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gpm-common.c b/plugins/power/gpm-common.c
index 1b053a1..d0f42ac 100644
--- a/plugins/power/gpm-common.c
+++ b/plugins/power/gpm-common.c
@@ -1608,7 +1608,6 @@ external_monitor_is_connected (GnomeRRScreen *screen)
 
 #ifdef MOCK_EXTERNAL_MONITOR
 	char *mock_external_monitor_contents;
-	gboolean ret;
 
 	if (g_file_get_contents ("GSD_MOCK_EXTERNAL_MONITOR", &mock_external_monitor_contents, NULL, NULL)) {
 		if (mock_external_monitor_contents[0] == '1') {



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