* libmisc/root_flag.c, src/gpasswd.c, src/chsh.c: Add splint

annotations.
	* src/pwconv.c, src/pwunconv.c, src/grpconv.c, src/grpunconv.c:
	Ignore return value of spw_rewind, pw_rewind, sgr_rewind, and
	gr_rewind.
	* lib/commonio.h: Both head and tail cannot be owned. Set tail as
	dependent.
	* src/expiry.c: Ignore return value of expire ().
	* src/expiry.c: The catch_signals function does not use its sig
	parameter.
	* src/userdel.c: Last audit_logger parameter is a
	shadow_audit_result, use SHADOW_AUDIT_FAILURE instead of 0.
This commit is contained in:
nekral-guest
2011-11-19 21:51:52 +00:00
parent 6e2c6ffdf7
commit 82d767d121
11 changed files with 41 additions and 22 deletions

View File

@@ -187,7 +187,7 @@ int main (int argc, char **argv)
fail_exit (1);
}
pw_rewind ();
(void) pw_rewind ();
while ((pw = pw_next ()) != NULL) {
spwd = spw_locate (pw->pw_name);
if (NULL == spwd) {