mirror of
https://github.com/libssh2/libssh2.git
synced 2025-09-01 06:21:57 +03:00
Silence unused var warnings (#329)
Silence warnings about unused variables in this test
This commit is contained in:
@@ -57,6 +57,10 @@ int test(LIBSSH2_SESSION *session)
|
||||
int type;
|
||||
size_t len;
|
||||
|
||||
/* these are the host keys under test, they are currently unused */
|
||||
(void)EXPECTED_RSA_HOSTKEY;
|
||||
(void)EXPECTED_ECDSA_HOSTKEY;
|
||||
|
||||
const char *hostkey = libssh2_session_hostkey(session, &len, &type);
|
||||
if(hostkey == NULL) {
|
||||
print_last_session_error("libssh2_session_hostkey");
|
||||
|
Reference in New Issue
Block a user