nlist: Remove repeated shadowing variable declaration

Warned-by: gcc
This commit is contained in:
Guillem Jover 2021-02-19 06:51:18 +01:00
parent 72a82ee262
commit 8f59221c4f

View File

@ -239,7 +239,6 @@ __fdnlist(int fd, struct nlist *list)
for (s = sbuf; cc > 0 && nent > 0; ++s, cc -= sizeof(*s)) {
char *name;
Elf_Word size;
struct nlist *p;
name = strtab + s->st_name;
if (name[0] == '\0')