From a2371e19b3b85548c47198176ebac23481479633 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Thu, 11 Jul 2013 13:34:20 +0200 Subject: [PATCH] * grub-core/normal/charset.c (bidi_line_wrap): Fix spurios warning. --- ChangeLog | 4 ++++ grub-core/normal/charset.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 48b27ac34..66eb729ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-07-11 Vladimir Serbinenko + + * grub-core/normal/charset.c (bidi_line_wrap): Fix spurios warning. + 2013-07-11 Vladimir Serbinenko * configure.ac: Indicate which liblzma is used if any. diff --git a/grub-core/normal/charset.c b/grub-core/normal/charset.c index f4268ec02..54e9d8b6e 100644 --- a/grub-core/normal/charset.c +++ b/grub-core/normal/charset.c @@ -547,7 +547,7 @@ bidi_line_wrap (struct grub_unicode_glyph *visual_out, { struct grub_unicode_glyph t; unsigned i; - int a, b; + int a = 0, b = 0; if (pos) { a = pos[visual[start].orig_pos].x;