From 8f59221c4f0383153a7c7b499fbd1344cd9ad0f1 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 19 Feb 2021 06:51:18 +0100 Subject: [PATCH] nlist: Remove repeated shadowing variable declaration Warned-by: gcc --- src/nlist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/nlist.c b/src/nlist.c index d22fa19..8012d5a 100644 --- a/src/nlist.c +++ b/src/nlist.c @@ -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')