]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/gshadow.c: build_list(): Remove dead assignment
authorAlejandro Colomar <alx@kernel.org>
Tue, 5 Nov 2024 13:50:35 +0000 (14:50 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 6 Dec 2024 03:20:59 +0000 (21:20 -0600)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/gshadow.c

index 7375049ddf85f7acb6cb3d3eae50075f71cfbed0..f2ce31f2dfeda909a65c8e8cdc3a4d8787e04151 100644 (file)
@@ -39,7 +39,7 @@ static struct sgrp sgroup;
 static /*@null@*/char **
 build_list(char *s, char ***lp, size_t *np)
 {
-       char    **l = *lp;
+       char    **l;
        size_t  n = *np;
 
        while (s != NULL && *s != '\0') {