* grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious

warning.
	Reported and tested by: Grégoire Sutre.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-01-08 01:45:57 +01:00
parent ec1dfd634e
commit f9f376488b
2 changed files with 7 additions and 1 deletions

View file

@ -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> 2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Do CPU substitution even if it's specified explicitly. * configure.ac: Do CPU substitution even if it's specified explicitly.

View file

@ -494,7 +494,7 @@ static int
grub_keyboard_getkey (void) grub_keyboard_getkey (void)
{ {
int key; int key;
int is_break; int is_break = 0;
key = fetch_key (&is_break); key = fetch_key (&is_break);
if (key == -1) if (key == -1)