diff options
author | Richard Levitte <levitte@openssl.org> | 2016-08-22 14:02:31 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-08-22 14:16:27 +0200 |
commit | 91dc6054582d1b7f263a67527ebbe2c050d178fc (patch) | |
tree | 4400505b584a107662a4ff24198a82854c64411c /test | |
parent | 20200681236059aee56f3a2270b27052d9ba559c (diff) |
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)
Diffstat (limited to 'test')
-rw-r--r-- | test/ssltestlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ssltestlib.c b/test/ssltestlib.c index 1592514a38..a52669c82a 100644 --- a/test/ssltestlib.c +++ b/test/ssltestlib.c @@ -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) |