gtknotebook: Remove dead variable assignments

Found by scan-build.

https://bugzilla.gnome.org/show_bug.cgi?id=712760
This commit is contained in:
Philip Withnall
2013-11-20 17:32:47 +00:00
parent c7f5f10853
commit 51971d56bc

View File

@@ -5233,7 +5233,6 @@ gtk_notebook_search_page (GtkNotebook *notebook,
}
else
{
old_list = list;
list = list->prev;
}
while (list)
@@ -5244,7 +5243,6 @@ gtk_notebook_search_page (GtkNotebook *notebook,
(gtk_widget_get_visible (page->child) &&
(!page->tab_label || NOTEBOOK_IS_TAB_LABEL_PARENT (notebook, page)))))
return list;
old_list = list;
list = list->prev;
}
return NULL;