]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
nlist: Remove repeated shadowing variable declaration 1/merge
authorGuillem Jover <guillem@hadrons.org>
Fri, 19 Feb 2021 05:51:18 +0000 (06:51 +0100)
committerGuillem Jover <guillem@hadrons.org>
Sun, 28 Feb 2021 04:30:37 +0000 (05:30 +0100)
Warned-by: gcc
src/nlist.c

index d22fa19d13bb3c16d237f3b51d61ae56d8c77386..8012d5a9854633ea49a9a050db16a3cd3aa6fe55 100644 (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')