mirror of
https://github.com/curl/curl.git
synced 2026-05-15 01:56:20 +03:00
compiler warning: fix
Fix compiler warning: unused variable 'data'
This commit is contained in:
parent
3e70c28ce5
commit
bed6b89a2f
1 changed files with 2 additions and 1 deletions
|
|
@ -509,10 +509,11 @@ static int sshkeycallback(CURL *easy,
|
|||
|
||||
static CURLcode ssh_knownhost(struct connectdata *conn)
|
||||
{
|
||||
struct SessionHandle *data = conn->data;
|
||||
CURLcode result = CURLE_OK;
|
||||
|
||||
#ifdef HAVE_LIBSSH2_KNOWNHOST_API
|
||||
struct SessionHandle *data = conn->data;
|
||||
|
||||
if(data->set.str[STRING_SSH_KNOWNHOSTS]) {
|
||||
/* we're asked to verify the host against a file */
|
||||
struct ssh_conn *sshc = &conn->proto.sshc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue