silence compiler warnings
authorDaniel Stenberg <daniel@haxx.se>
Sun, 28 Jan 2007 22:36:23 +0000 (22:36 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 28 Jan 2007 22:36:23 +0000 (22:36 +0000)
lib/ssh.c

index 47c3dd4..24cba1b 100644 (file)
--- 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);