Skip to content

Commit

Permalink
Remove receiving of unused return value
Browse files Browse the repository at this point in the history
CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #23277)
  • Loading branch information
JohnnySavages authored and t8m committed Jan 15, 2024
1 parent 8aa3781 commit afd8e29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/s_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit afd8e29

Please sign in to comment.