]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 8 Jan 2011 00:45:57 +0000 (01:45 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 8 Jan 2011 00:45:57 +0000 (01:45 +0100)
warning.
Reported and tested by: GrĂ©goire Sutre.

ChangeLog
grub-core/term/at_keyboard.c

index 5116604f52d55f077722bbd88c55e17cbeff1fea..4c2fd2a6231d238977f8373cb5b3ca216c7b8b0d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-08  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious
+       warning.
+       Reported and tested by: GrĂ©goire Sutre.
+
 2011-01-08  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * configure.ac: Do CPU substitution even if it's specified explicitly.
index 5bc3f578c3118e23704c51b9a28968259489f5c2..55cb76483035dcdb55f174bd25f852c771d2d3b8 100644 (file)
@@ -494,7 +494,7 @@ static int
 grub_keyboard_getkey (void)
 {
   int key;
-  int is_break;
+  int is_break = 0;
 
   key = fetch_key (&is_break);
   if (key == -1)