[gtk+] Silence a compiler warning



commit 8f3e43326bcc601c47390db9c583a51b3c4a13fe
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 27 01:25:39 2011 -0400

    Silence a compiler warning

 gtk/gtkpango.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkpango.c b/gtk/gtkpango.c
index 6af3a83..2181b7b 100644
--- a/gtk/gtkpango.c
+++ b/gtk/gtkpango.c
@@ -693,6 +693,7 @@ _gtk_pango_move_lines (PangoLayout *layout,
   text = pango_layout_get_text (layout);
   index = g_utf8_offset_to_pointer (text, offset) - text;
   lines = pango_layout_get_lines (layout);
+  line = NULL;
 
   num = 0;
   for (l = lines; l; l = l->next)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]