]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/normal/charset.c (bidi_line_wrap): Fix spurios warning.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 11 Jul 2013 11:34:20 +0000 (13:34 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 11 Jul 2013 11:34:20 +0000 (13:34 +0200)
ChangeLog
grub-core/normal/charset.c

index 48b27ac34ede8f6547809dc34f25b111b877aed6..66eb729ee6e774477c88e0f9eca8594d162a93b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index f4268ec02fad28911741c876599e5b97ce4ac2b3..54e9d8b6e633fb34bacb049c8d54587de0d1a2c9 100644 (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;