lib/failure.c: failprint(): Remove dead code
This should have gone into the #else'd branch in8451bed8b0, and should have been removed in3e602b58a2. Fixes:8451bed8b0("[svn-upgrade] Integrating new upstream version, shadow (4.0.13)") Fixes:3e602b58a2("Remove HAVE_STRFTIME ifdefs") Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
committed by
Serge Hallyn
parent
bfb6aad7cb
commit
bdf00dca44
@@ -242,14 +242,12 @@ void failprint (const struct faillog *fail)
|
||||
struct tm *tp;
|
||||
char lasttimeb[256];
|
||||
char *lasttime = lasttimeb;
|
||||
time_t NOW;
|
||||
|
||||
if (0 == fail->fail_cnt) {
|
||||
return;
|
||||
}
|
||||
|
||||
tp = localtime (&(fail->fail_time));
|
||||
(void) time (&NOW);
|
||||
|
||||
/*
|
||||
* Print all information we have.
|
||||
|
||||
Reference in New Issue
Block a user