[gtk+] gtknotebook: Remove dead variable assignments
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtknotebook: Remove dead variable assignments
- Date: Mon, 9 Mar 2015 13:57:56 +0000 (UTC)
commit 51971d56bc77644d380a1d7b175faaa807e59318
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Nov 20 17:32:47 2013 +0000
gtknotebook: Remove dead variable assignments
Found by scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
gtk/gtknotebook.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 9217f12..c71229e 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]