Remove set-but-unused variables, to appease gcc 4.6

https://bugzilla.gnome.org/show_bug.cgi?id=640447
This commit is contained in:
Dan Winship
2011-01-24 12:41:23 -05:00
parent 75d1230dd1
commit 13edecde6c
14 changed files with 7 additions and 67 deletions

View File

@ -825,12 +825,9 @@ on_focus_window_changed (MetaDisplay *display,
GParamSpec *spec,
ShellWindowTracker *tracker)
{
MetaScreen *screen;
MetaWindow *new_focus_win;
ShellApp *new_focus_app;
screen = shell_global_get_screen (shell_global_get ());
new_focus_win = meta_display_get_focus_window (display);
new_focus_app = new_focus_win ? g_hash_table_lookup (tracker->window_to_app, new_focus_win) : NULL;