* grub-core/fs/affs.c (grub_affs_create_node): Fix uninited value

warning.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-18 16:47:30 +02:00
parent f4ccf29dd5
commit bf919aa977
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/affs.c (grub_affs_create_node): Fix uninited value
warning.
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/dl.h: Remove double declaration of GRUB_MOD_DEP.

View File

@ -325,7 +325,7 @@ grub_affs_create_node (grub_fshelp_node_t dir,
grub_uint32_t block, const struct grub_affs_file *fil)
{
struct grub_affs_data *data = dir->data;
int type;
int type = GRUB_FSHELP_REG;
grub_uint8_t name_u8[sizeof (fil->name) * GRUB_MAX_UTF8_PER_LATIN1 + 1];
grub_size_t len;
unsigned int nest;