mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-28 18:54:36 +00:00
ssltestlib: Tell compiler we don't care about the value when we don't
In mempacket_test_read(), we've already fetched the top value of the stack, so when we shift the stack, we don't care for the value. The compiler needs to be told, or it will complain harshly when we tell it to be picky. Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit 1c288878af42650fbda911b702ae7b551a545b1c)
This commit is contained in:
parent
2020068123
commit
91dc605458
@ -355,7 +355,7 @@ static int mempacket_test_read(BIO *bio, char *out, int outl)
|
||||
BIO_set_retry_read(bio);
|
||||
return -1;
|
||||
}
|
||||
sk_MEMPACKET_shift(ctx->pkts);
|
||||
(void)sk_MEMPACKET_shift(ctx->pkts);
|
||||
ctx->currpkt++;
|
||||
|
||||
if (outl > thispkt->len)
|
||||
|
Loading…
x
Reference in New Issue
Block a user