diff options
author | Darren Tucker <dtucker@dtucker.net> | 2020-02-17 22:55:51 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-02-17 22:55:51 +1100 |
commit | 011052de73f3dbc53f50927ccf677266a9ade4f6 (patch) | |
tree | 2490aa57f69769229ad83aee48a17a7d7aaf3c36 /sshlogin.c | |
parent | 31c9348c5e4e94e9913ec64b3ca6e15f68ba19e5 (diff) | |
download | openssh-git-011052de73f3dbc53f50927ccf677266a9ade4f6.tar.gz |
Remove unused variable warning.
Diffstat (limited to 'sshlogin.c')
-rw-r--r-- | sshlogin.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -90,8 +90,11 @@ static void store_lastlog_message(const char *user, uid_t uid) { #ifndef NO_SSH_LASTLOG - char *time_string, hostname[HOST_NAME_MAX+1] = ""; +# ifndef CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG + char hostname[HOST_NAME_MAX+1] = ""; time_t last_login_time; +# endif + char *time_string; int r; if (!options.print_lastlog) |