Don't 'else' after a 'noreturn' call
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
99ce21a313
commit
8cce4557e0
@ -202,10 +202,9 @@ static void catch_signals (unused int sig)
|
|||||||
execl (PATH_TELINIT, "telinit", RUNLEVEL, (char *) 0);
|
execl (PATH_TELINIT, "telinit", RUNLEVEL, (char *) 0);
|
||||||
#endif
|
#endif
|
||||||
exit (0);
|
exit (0);
|
||||||
} else {
|
|
||||||
STRFCPY (pass, cp);
|
|
||||||
strzero (cp);
|
|
||||||
}
|
}
|
||||||
|
STRFCPY (pass, cp);
|
||||||
|
strzero (cp);
|
||||||
if (valid (pass, &pwent)) { /* check encrypted passwords ... */
|
if (valid (pass, &pwent)) { /* check encrypted passwords ... */
|
||||||
break; /* ... encrypted passwords matched */
|
break; /* ... encrypted passwords matched */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user