* grub-core/normal/charset.c (bidi_line_wrap): Fix spurios warning.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-07-11 13:34:20 +02:00
parent 64fce2d829
commit a2371e19b3
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-07-11 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/charset.c (bidi_line_wrap): Fix spurios warning.
2013-07-11 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Indicate which liblzma is used if any.

View file

@ -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;