mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04: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=%s\n", instruction);
|
||||||
fprintf(stderr, "instruction_len=%d\n", instruction_len);
|
fprintf(stderr, "instruction_len=%d\n", instruction_len);
|
||||||
fprintf(stderr, "num_prompts=%d\n", num_prompts);
|
fprintf(stderr, "num_prompts=%d\n", num_prompts);
|
||||||
|
#else
|
||||||
|
(void)name;
|
||||||
|
(void)name_len;
|
||||||
|
(void)instruction;
|
||||||
|
(void)instruction_len;
|
||||||
#endif /* CURL_LIBSSH2_DEBUG */
|
#endif /* CURL_LIBSSH2_DEBUG */
|
||||||
if (num_prompts == 1) {
|
if (num_prompts == 1) {
|
||||||
responses[0].text = strdup(ssh->passwd);
|
responses[0].text = strdup(ssh->passwd);
|
||||||
|
Loading…
Reference in New Issue
Block a user