[openssh-commits] [openssh] 05/05: Remove unused variable warning.
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Feb 17 22:56:57 AEDT 2020
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 011052de73f3dbc53f50927ccf677266a9ade4f6
Author: Darren Tucker <dtucker at dtucker.net>
Date: Mon Feb 17 22:55:51 2020 +1100
Remove unused variable warning.
---
sshlogin.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sshlogin.c b/sshlogin.c
index 4ed41949..08d2600b 100644
--- a/sshlogin.c
+++ b/sshlogin.c
@@ -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)
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list