mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
silence compiler warnings
This commit is contained in:
parent
daf527b276
commit
8162b32bad
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user