lib/gshadow.c: build_list(): Remove unused variable

Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar
2024-12-05 21:20:59 -06:00
committed by Serge Hallyn
parent 960947135c
commit 93887b4de6
+1 -1
View File
@@ -40,7 +40,7 @@ static /*@null@*/char **
build_list(char *s, char ***list, size_t *nlist)
{
char **ptr = *list;
size_t nelem = *nlist, size;
size_t nelem = *nlist;
while (s != NULL && *s != '\0') {
ptr = XREALLOC(*list, nelem + 1, char *);