* src/groupmems.c: Avoid mixed declarations and code.
This commit is contained in:
parent
81e1dbc90e
commit
046fe0cfe0
@ -5,6 +5,7 @@
|
||||
* src/groupmems.c: Do not fail and do not display warnings if a
|
||||
close failure happens with the --list option. (Files are opened
|
||||
read-only).
|
||||
* src/groupmems.c: Avoid mixed declarations and code.
|
||||
|
||||
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
|
@ -272,6 +272,7 @@ static void process_flags (int argc, char **argv)
|
||||
|
||||
static void check_perms (void)
|
||||
{
|
||||
if (!list) {
|
||||
#ifdef USE_PAM
|
||||
pam_handle_t *pamh = NULL;
|
||||
int retval = PAM_SUCCESS;
|
||||
@ -300,6 +301,7 @@ static void check_perms (void)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
static void fail_exit (int code)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user