* util/grub-mkimage.c (generate_image): Silence spurious warning.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-29 14:12:41 +01:00
parent d9dbf11e16
commit 3cb38f015f
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkimage.c (generate_image): Silence spurious warning.
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com> 2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
* util/ieee1275/ofpath.c: Rename devname to sys_devname everywhere to * util/ieee1275/ofpath.c: Rename devname to sys_devname everywhere to

View file

@ -712,8 +712,8 @@ generate_image (const char *dir, const char *prefix,
struct grub_util_path_list *path_list, *p, *next; struct grub_util_path_list *path_list, *p, *next;
grub_size_t bss_size; grub_size_t bss_size;
grub_uint64_t start_address; grub_uint64_t start_address;
void *rel_section; void *rel_section = 0;
grub_size_t reloc_size, align; grub_size_t reloc_size = 0, align;
size_t decompress_size = 0; size_t decompress_size = 0;
if (comp == COMPRESSION_AUTO) if (comp == COMPRESSION_AUTO)