From a7251e4158ac19b79ec81a1c333fcbc90e9c0328 Mon Sep 17 00:00:00 2001 From: David Garske Date: Thu, 3 Jan 2019 11:22:01 -0800 Subject: [PATCH] Fixes for minor Jenkins build warnings. --- examples/benchmark/tls_bench.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/benchmark/tls_bench.c b/examples/benchmark/tls_bench.c index 807c02c0e..a64fdada5 100644 --- a/examples/benchmark/tls_bench.c +++ b/examples/benchmark/tls_bench.c @@ -809,6 +809,8 @@ static void* client_thread(void* args) pthread_cond_signal(&info->to_server.cond); info->to_client.done = 1; + (void)ret; /* set in into struct */ + return NULL; } #endif /* HAVE_PTHREAD */ @@ -1004,7 +1006,7 @@ static int bench_tls_server(info_t* info) #endif /* start total counter after first wait */ - if (total == 0.0f) { + if (total == 0.0) { total = gettime_secs(0); }