From: Iker Pedrosa Date: Tue, 10 May 2022 11:23:07 +0000 (+0200) Subject: Remove redeclared variable X-Git-Tag: 4.12~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23baa40d9d96743dd3377de0de8e422b7ec3ed94;p=thirdparty%2Fshadow.git Remove redeclared variable No need to redeclare a variable with the same name and type. Just keep the one with the biggest scope. Signed-off-by: Iker Pedrosa --- diff --git a/src/vipw.c b/src/vipw.c index 8c97f4bc5..488a97d98 100644 --- a/src/vipw.c +++ b/src/vipw.c @@ -293,7 +293,6 @@ vipwedit (const char *file, int (*file_lock) (void), int (*file_unlock) (void)) /* use the system() call to invoke the editor so that it accepts command line args in the EDITOR and VISUAL environment vars */ char *buf; - int status; /* Wait for parent to make us the foreground pgrp. */ if (orig_pgrp != -1) {