diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-08-27 01:25:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-08-27 01:25:39 -0400 |
commit | 8f3e43326bcc601c47390db9c583a51b3c4a13fe (patch) | |
tree | 4d7c839a7f84a10f01d8e317727c9ae3d9e4a928 /gtk/gtkpango.c | |
parent | f7dbdba2670620826cb460ff21b640ea8be98312 (diff) | |
download | gtk+-8f3e43326bcc601c47390db9c583a51b3c4a13fe.tar.gz |
Silence a compiler warning
Diffstat (limited to 'gtk/gtkpango.c')
-rw-r--r-- | gtk/gtkpango.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkpango.c b/gtk/gtkpango.c index 6af3a8337c..2181b7b40b 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) |