From 9aa60ce09b88efd4227f8f795c54d07b2776f756 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 13 Jan 2018 23:31:54 +0100 Subject: drop unused variables --- capplets/display/xrandr-capplet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capplets/display') diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c index 4a538f43..7089a24e 100644 --- a/capplets/display/xrandr-capplet.c +++ b/capplets/display/xrandr-capplet.c @@ -1820,7 +1820,6 @@ on_area_paint (FooScrollArea *area, gpointer data) { App *app = data; - double scale; GList *connected_outputs = NULL; GList *list; @@ -1829,10 +1828,11 @@ on_area_paint (FooScrollArea *area, if (!app->current_configuration) return; - scale = compute_scale (app); connected_outputs = list_connected_outputs (app, NULL, NULL); #if 0 + double scale; + scale = compute_scale (app); g_debug ("scale: %f", scale); #endif -- cgit v1.2.1