From: Mikael Magnusson Date: Fri, 19 Feb 2010 21:13:46 +0000 (+0100) Subject: Unused variable guint old X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=commitdiff_plain;h=c75247a9d180c19c2618902d2b5a93d3f95e82eb Unused variable guint old --- diff --git a/openbox/screen.c b/openbox/screen.c index 55fd58d..1f95bc6 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -513,7 +513,6 @@ void screen_resize(void) void screen_set_num_desktops(guint num) { - guint old; gulong *viewport; GList *it, *stacking_copy; @@ -521,7 +520,6 @@ void screen_set_num_desktops(guint num) if (screen_num_desktops == num) return; - old = screen_num_desktops; screen_num_desktops = num; PROP_SET32(RootWindow(ob_display, ob_screen), net_number_of_desktops, cardinal, num);