aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ssh.c')
-rw-r--r--lib/ssh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index ecf3991e7..6980c81b5 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -2117,6 +2117,9 @@ static int ssh_getsock(struct connectdata *conn,
int numsocks)
{
#ifndef HAVE_LIBSSH2_SESSION_BLOCK_DIRECTIONS
+ (void)conn;
+ (void)sock;
+ (void)numsocks;
/* if we don't know any direction we can just play along as we used to and
not provide any sensible info */
return GETSOCK_BLANK;