From: Vladimir 'phcoder' Serbinenko Date: Sat, 8 Jan 2011 00:45:57 +0000 (+0100) Subject: * grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious X-Git-Tag: 1.99~239 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=f9f376488bc602b6c8f370c6697e0765747ac1c6;p=thirdparty%2Fgrub.git * grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious warning. Reported and tested by: Grégoire Sutre. --- diff --git a/ChangeLog b/ChangeLog index 5116604f5..4c2fd2a62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-01-08 Vladimir Serbinenko + + * grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious + warning. + Reported and tested by: Grégoire Sutre. + 2011-01-08 Vladimir Serbinenko * configure.ac: Do CPU substitution even if it's specified explicitly. diff --git a/grub-core/term/at_keyboard.c b/grub-core/term/at_keyboard.c index 5bc3f578c..55cb76483 100644 --- a/grub-core/term/at_keyboard.c +++ b/grub-core/term/at_keyboard.c @@ -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)