diff --git a/ChangeLog b/ChangeLog index 961302d0..1715304f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-28 Nicolas François + + * src/chgpasswd.c, src/chpasswd.c: Removed variable ok, which is + no more used. + 2008-08-28 Nicolas François * src/chage.c: Fix the format for long integers (from %ul to %lu). diff --git a/src/chgpasswd.c b/src/chgpasswd.c index 581886f9..e0e2fcf6 100644 --- a/src/chgpasswd.c +++ b/src/chgpasswd.c @@ -374,7 +374,6 @@ int main (int argc, char **argv) struct group newgr; int errors = 0; int line = 0; - int ok; Prog = Basename (argv[0]); diff --git a/src/chpasswd.c b/src/chpasswd.c index 57b42120..422eb790 100644 --- a/src/chpasswd.c +++ b/src/chpasswd.c @@ -364,7 +364,6 @@ int main (int argc, char **argv) int errors = 0; int line = 0; long now = (long) time ((time_t *)NULL) / SCALE; - int ok; Prog = Basename (argv[0]);