* grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta):

Silence spurious warning.
	Reported and tested by: Alain Greppin.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-01-08 00:27:38 +01:00
parent 64d1f0412b
commit 43f1bc8369
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta):
Silence spurious warning.
Reported and tested by: Alain Greppin.
2011-01-07 Szymon Janc <szymon@janc.net.pl>
* docs/grub.texi (Support automatic decompression): Update with xz

View File

@ -394,7 +394,7 @@ SUFFIX (grub_netbsd_load_elf_meta) (struct grub_relocator *relocator,
grub_err_t err;
Elf_Ehdr e;
Elf_Shdr *s, *symsh, *strsh;
char *shdr;
char *shdr = NULL;
unsigned symsize, strsize;
void *sym_chunk;
grub_uint8_t *curload;