aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2008-12-28 05:49:39 +0000
committerGunter Knauf <gk@gknw.de>2008-12-28 05:49:39 +0000
commit122b0bfe82fce05201ead3d3c27633e2a0ce373f (patch)
tree33df2c1f7a1660e801d28af5665d3c945938f551
parent3eae7695fcbbbc621e47abebe3e175db9dca4d5c (diff)
silent 'unused' warnings.
-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;