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

spurious warning.
	Reported by: crocket
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-12-31 12:37:35 +01:00
parent 14b48a19c2
commit b12b923e63
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-12-31 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/loader/i386/bsdXX.c (grub_openbsd_find_ramdisk): Silence
spurious warning.
Reported by: crocket
2010-12-27 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/loader/xnu.c (grub_cmd_xnu_kernel) [! GRUB_MACHINE_EFI]:

View File

@ -511,7 +511,7 @@ SUFFIX(grub_openbsd_find_ramdisk) (grub_file_t file,
grub_err_t err;
Elf_Ehdr e;
Elf_Shdr *s;
char *shdr;
char *shdr = NULL;
err = read_headers (file, &e, &shdr);
if (err)