* grub-core/normal/menu_text.c (grub_print_message_indented_real): Fix a

warning.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-27 10:31:46 +01:00
parent 668f304f4d
commit b4a6a53310
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/menu_text.c (grub_print_message_indented_real): Fix a
warning.
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Use file identifier if no UUID is available

View file

@ -70,7 +70,7 @@ grub_print_message_indented_real (const char *msg, int margin_left,
grub_uint32_t *unicode_msg;
grub_uint32_t *last_position;
grub_size_t msg_len = grub_strlen (msg) + 2;
int ret;
int ret = 0;
unicode_msg = grub_malloc (msg_len * sizeof (grub_uint32_t));