Remove unused variable warning.

This commit is contained in:
Darren Tucker 2020-02-17 22:55:51 +11:00
parent 31c9348c5e
commit 011052de73
1 changed files with 4 additions and 1 deletions

View File

@ -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)