mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/kern/powerpc/dl.c (grub_arch_dl_get_tramp_got_size): Remove
set but not used variable.
This commit is contained in:
1 parent
8502fbca04
commit
22489834b3
2 files changed
+5
-3
No files matched your search
@@ -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))
|
||||||
|
|||||||
Reference in new issue
Block a user