aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-22 12:27:32 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-22 13:01:36 +0200
commitdbf3cdecda66e9784bcd9403881922515ce86147 (patch)
tree1a4e8d28b4f92c510534dba61757fbffc6072fbf
parent35d0c3a86008db3131a404e60e24153ffb91c149 (diff)
downloadlibssh-dbf3cdecda66e9784bcd9403881922515ce86147.tar.gz
libssh-dbf3cdecda66e9784bcd9403881922515ce86147.tar.xz
libssh-dbf3cdecda66e9784bcd9403881922515ce86147.zip
auth: Fix build warning if we don't build with gssapi.
-rw-r--r--src/auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/auth.c b/src/auth.c
index 39d50be7..de7965d2 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -2158,6 +2158,8 @@ pending:
if (rc != SSH_AUTH_AGAIN) {
session->pending_call_state = SSH_PENDING_CALL_NONE;
}
+#else
+ (void) session; /* unused */
#endif
return rc;
}