mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-05-27 06:41:05 +03:00
tests: Fix mixed code compiler warning in torture_rand
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
parent
a4aeee972c
commit
467d78a442
@ -16,9 +16,10 @@
|
|||||||
#define NUM_THREADS 100
|
#define NUM_THREADS 100
|
||||||
|
|
||||||
static int setup(void **state) {
|
static int setup(void **state) {
|
||||||
(void) state;
|
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
|
(void) state;
|
||||||
|
|
||||||
ssh_threads_set_callbacks(ssh_threads_get_pthread());
|
ssh_threads_set_callbacks(ssh_threads_get_pthread());
|
||||||
rc = ssh_init();
|
rc = ssh_init();
|
||||||
if (rc != SSH_OK) {
|
if (rc != SSH_OK) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user