summaryrefslogtreecommitdiffstats
path: root/test/ssltestlib.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-08-22 14:02:31 +0200
committerRichard Levitte <levitte@openssl.org>2016-08-22 14:02:31 +0200
commit1c288878af42650fbda911b702ae7b551a545b1c (patch)
treebc9a4ef563e37535ebcd088e2f958c2a908dcb6e /test/ssltestlib.c
parent1194ea8dc3b51a35c9947ed276f38436abee5743 (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>
Diffstat (limited to 'test/ssltestlib.c')
-rw-r--r--test/ssltestlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ssltestlib.c b/test/ssltestlib.c
index 8b30014ba3..9fcd98de7d 100644
--- a/test/ssltestlib.c
+++ b/test/ssltestlib.c
@@ -337,7 +337,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)