aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-03-21 20:41:16 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-03-21 20:41:16 +0100
commit467d78a442a0b3cea20f7fefadf9fa4b5119b1fe (patch)
treeae8f1c45dc656adad85f5bbda7549920df98977e
parenta4aeee972cc1a21a638b5eea08fb574220270f81 (diff)
downloadlibssh-467d78a442a0b3cea20f7fefadf9fa4b5119b1fe.tar.gz
libssh-467d78a442a0b3cea20f7fefadf9fa4b5119b1fe.tar.xz
libssh-467d78a442a0b3cea20f7fefadf9fa4b5119b1fe.zip
tests: Fix mixed code compiler warning in torture_rand
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--tests/unittests/torture_rand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/torture_rand.c b/tests/unittests/torture_rand.c
index 6e666dfb..68320bca 100644
--- a/tests/unittests/torture_rand.c
+++ b/tests/unittests/torture_rand.c
@@ -16,9 +16,10 @@
#define NUM_THREADS 100
static int setup(void **state) {
- (void) state;
int rc;
+ (void) state;
+
ssh_threads_set_callbacks(ssh_threads_get_pthread());
rc = ssh_init();
if (rc != SSH_OK) {