* grub-core/kern/powerpc/dl.c (grub_arch_dl_get_tramp_got_size): Remove
set but not used variable.
This commit is contained in:
parent
8502fbca04
commit
22489834b3
2 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-01-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/kern/powerpc/dl.c (grub_arch_dl_get_tramp_got_size): Remove
|
||||||
|
set but not used variable.
|
||||||
|
|
||||||
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/reiserfs.c (grub_reiserfs_uuid): Reject 0-uuid as
|
* grub-core/fs/reiserfs.c (grub_reiserfs_uuid): Reject 0-uuid as
|
||||||
|
|
|
@ -43,7 +43,6 @@ grub_arch_dl_get_tramp_got_size (const void *ehdr, grub_size_t *tramp,
|
||||||
{
|
{
|
||||||
const Elf_Ehdr *e = ehdr;
|
const Elf_Ehdr *e = ehdr;
|
||||||
const Elf_Shdr *s;
|
const Elf_Shdr *s;
|
||||||
Elf_Word entsize;
|
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
*tramp = 0;
|
*tramp = 0;
|
||||||
|
@ -59,8 +58,6 @@ grub_arch_dl_get_tramp_got_size (const void *ehdr, grub_size_t *tramp,
|
||||||
if (i == e->e_shnum)
|
if (i == e->e_shnum)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
entsize = s->sh_entsize;
|
|
||||||
|
|
||||||
for (i = 0, s = (const Elf_Shdr *) ((const char *) e + e->e_shoff);
|
for (i = 0, s = (const Elf_Shdr *) ((const char *) e + e->e_shoff);
|
||||||
i < e->e_shnum;
|
i < e->e_shnum;
|
||||||
i++, s = (const Elf_Shdr *) ((const char *) s + e->e_shentsize))
|
i++, s = (const Elf_Shdr *) ((const char *) s + e->e_shentsize))
|
||||||
|
|
Loading…
Add table
Reference in a new issue