]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
src/useradd.c: Remove unused variable
authorAlejandro Colomar <alx@kernel.org>
Thu, 20 Feb 2025 16:37:56 +0000 (17:37 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Thu, 6 Nov 2025 11:50:49 +0000 (12:50 +0100)
Fixes: d91b22cc2f6d (2024-07-08; "lib/, src/: Use stpsep() instead of its pattern")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/useradd.c

index 0d26a0bcbf8adc23b7e38724cbe54da45e8f7694..60d2332ca6b6de963b83e786b0ed154b550f9cb4 100644 (file)
@@ -527,7 +527,6 @@ set_defaults(void)
        char  *new_file = NULL;
        char  *new_file_dup = NULL;
        char  *default_file = USER_DEFAULTS_FILE;
-       char  *cp;
        FILE  *ifp;
        FILE  *ofp;