mirror of
https://github.com/sheumann/hush.git
synced 2025-01-11 08:29:54 +00:00
su: suppress "warning: unused variable 'user_buf'"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
12caabfa2d
commit
631fd5ccd7
@ -42,7 +42,9 @@ int su_main(int argc UNUSED_PARAM, char **argv)
|
||||
struct passwd *pw;
|
||||
uid_t cur_uid = getuid();
|
||||
const char *tty;
|
||||
#if ENABLE_FEATURE_UTMP
|
||||
char user_buf[64];
|
||||
#endif
|
||||
const char *old_user;
|
||||
|
||||
flags = getopt32(argv, "mplc:s:", &opt_command, &opt_shell);
|
||||
|
Loading…
x
Reference in New Issue
Block a user