* 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>
* configure.ac: Do CPU substitution even if it's specified explicitly.

View 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)