]> granicus.if.org Git - curl/commitdiff
silent 'unused' warnings.
authorGunter Knauf <gk@gknw.de>
Sun, 28 Dec 2008 05:49:39 +0000 (05:49 +0000)
committerGunter Knauf <gk@gknw.de>
Sun, 28 Dec 2008 05:49:39 +0000 (05:49 +0000)
lib/ssh.c

index ecf3991e7e50da5db8a9d9bbcdc576f9c81efd38..6980c81b56fc06d51dffd876406d76224c3e4c32 100644 (file)
--- 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;