Commit 1c288878 authored by Richard Levitte's avatar Richard Levitte
Browse files

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: default avatarMatt Caswell <matt@openssl.org>
parent 1194ea8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)