aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-01-28 22:36:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-01-28 22:36:23 +0000
commit8162b32bad2c0a5d3b771444d77825d752c4af66 (patch)
tree8d94fb44ec26ac31d30660fec6e28a60f4420a89
parentdaf527b276fc81726eb927ed9ef3d794f1ec4b2c (diff)
silence compiler warnings
-rw-r--r--lib/ssh.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 47c3dd45f..24cba1bac 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -186,6 +186,11 @@ kbd_callback(const char *name, int name_len, const char *instruction,
fprintf(stderr, "instruction=%s\n", instruction);
fprintf(stderr, "instruction_len=%d\n", instruction_len);
fprintf(stderr, "num_prompts=%d\n", num_prompts);
+#else
+ (void)name;
+ (void)name_len;
+ (void)instruction;
+ (void)instruction_len;
#endif /* CURL_LIBSSH2_DEBUG */
if (num_prompts == 1) {
responses[0].text = strdup(ssh->passwd);