From: Adam Majer Date: Mon, 20 Feb 2017 13:46:18 +0000 (+0100) Subject: Remove unnecessary static variable usage X-Git-Tag: 4.5~9^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90c0525c7e261f12d46b19ece4a694e7475dd52e;p=thirdparty%2Fshadow.git Remove unnecessary static variable usage --- diff --git a/src/useradd.c b/src/useradd.c index 1a565cf08..8b30a766d 100644 --- a/src/useradd.c +++ b/src/useradd.c @@ -1794,7 +1794,7 @@ static void lastlog_reset (uid_t uid) static void tallylog_reset (char *user_name) { - static const char pam_tally2[] = "/sbin/pam_tally2"; + const char pam_tally2[] = "/sbin/pam_tally2"; const char *pname; pid_t childpid; int failed;