* grub-core/kern/corecmd.c (grub_core_cmd_ls): Add missing var init.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-22 05:09:08 +01:00
parent 21ffe8f1dd
commit 1ba7e295fb
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/corecmd.c (grub_core_cmd_ls): Add missing var init.
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
* util/bin2h.c (usage): Add missing attribute noreturn.

View file

@ -128,7 +128,7 @@ grub_core_cmd_ls (struct grub_command *cmd __attribute__ ((unused)),
else
{
char *device_name;
grub_device_t dev;
grub_device_t dev = 0;
grub_fs_t fs;
char *path;