diff options
author | Drokov Pavel <drokov@rutoken.ru> | 2024-01-12 04:10:13 -0500 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-01-15 17:19:34 +0100 |
commit | afd8e29c360376420ea676581aa5d50b6027d069 (patch) | |
tree | 8d8a8cb3095dfd7d67dff59a29332f27d232481b /apps | |
parent | 8aa3781bfc7f21b9add1f7ad3f25c78670ec182a (diff) |
Remove receiving of unused return value
CLA: trivial
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23277)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_time.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/s_time.c b/apps/s_time.c index 1c6ed78b2c..dd9f354be9 100644 --- a/apps/s_time.c +++ b/apps/s_time.c @@ -310,7 +310,6 @@ int s_time_main(int argc, char **argv) } totalTime += tm_Time_F(STOP); /* Add the time for this iteration */ - i = (int)((long)time(NULL) - finishtime + maxtime); printf ("\n\n%d connections in %.2fs; %.2f connections/user sec, bytes read %ld\n", nConn, totalTime, ((double)nConn / totalTime), bytes_read); @@ -338,7 +337,7 @@ int s_time_main(int argc, char **argv) buf_len = BIO_snprintf(buf, sizeof(buf), fmt_http_get_cmd, www_path); if (buf_len <= 0 || SSL_write(scon, buf, buf_len) <= 0) goto end; - while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) + while (SSL_read(scon, buf, sizeof(buf)) > 0) continue; } SSL_set_shutdown(scon, SSL_SENT_SHUTDOWN | SSL_RECEIVED_SHUTDOWN); |