diff --git a/ChangeLog b/ChangeLog index 7d17f5ddc..cb248eba5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-02-22 Vladimir Serbinenko + + * grub-core/kern/corecmd.c (grub_core_cmd_ls): Add missing var init. + 2012-02-22 Vladimir Serbinenko * util/bin2h.c (usage): Add missing attribute noreturn. diff --git a/grub-core/kern/corecmd.c b/grub-core/kern/corecmd.c index 0ec6bdd28..b94f199a5 100644 --- a/grub-core/kern/corecmd.c +++ b/grub-core/kern/corecmd.c @@ -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;