mirror of
https://github.com/curl/curl.git
synced 2026-06-16 17:35:40 +03:00
compiler warning: fix
Fix compiler warning: `keycheck' might be used uninitialized in this function. Fix compiler warning: `keybit' might be used uninitialized in this function.
This commit is contained in:
parent
328600e02b
commit
8bdc48eddb
1 changed files with 2 additions and 2 deletions
|
|
@ -522,8 +522,8 @@ static CURLcode ssh_knownhost(struct connectdata *conn)
|
|||
size_t keylen;
|
||||
const char *remotekey = libssh2_session_hostkey(sshc->ssh_session,
|
||||
&keylen, &keytype);
|
||||
int keycheck;
|
||||
int keybit;
|
||||
int keycheck = LIBSSH2_KNOWNHOST_CHECK_FAILURE;
|
||||
int keybit = 0;
|
||||
|
||||
if(remotekey) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue