diff finch/libgnt/gnttextview.c @ 30413:7c871249318b

Fix some "Dead nested assignment"s and then kill off some useless variables related to them.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 14 Aug 2010 05:17:38 +0000
parents a18f421696dc
children a8cc50c2279f
line wrap: on
line diff
--- a/finch/libgnt/gnttextview.c	Sat Aug 14 03:55:19 2010 +0000
+++ b/finch/libgnt/gnttextview.c	Sat Aug 14 05:17:38 2010 +0000
@@ -711,7 +711,7 @@
 int gnt_text_view_get_lines_above(GntTextView *view)
 {
 	int above = 0;
-	GList *list = view->list;
+	GList *list;
 	list = g_list_nth(view->list, GNT_WIDGET(view)->priv.height);
 	if (!list)
 		return 0;