diff options
author | Denys Vlasenko | 2010-11-30 09:47:56 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-11-30 09:47:56 +0100 |
commit | 631fd5ccd7372e2c09e953cc3c5d0176ee2bc6d2 (patch) | |
tree | f8f5fb2160cc6759ff211674047df0b9d1ca4e8c /loginutils/su.c | |
parent | 12caabfa2da59ef877ad7ccbe949164dcc6d69e4 (diff) | |
download | busybox-631fd5ccd7372e2c09e953cc3c5d0176ee2bc6d2.zip busybox-631fd5ccd7372e2c09e953cc3c5d0176ee2bc6d2.tar.gz |
su: suppress "warning: unused variable 'user_buf'"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/su.c')
-rw-r--r-- | loginutils/su.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loginutils/su.c b/loginutils/su.c index 5bec4bc..c31e7e7 100644 --- a/loginutils/su.c +++ b/loginutils/su.c @@ -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); |