From 1a9d59c185c7f7570df6e680dc9a0ba8a8648f50 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Thu, 1 Apr 2021 21:01:51 +0200 Subject: [PATCH] `front` may be unused and generate a warning --- src/bio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bio.c b/src/bio.c index 75c008783..79e792949 100644 --- a/src/bio.c +++ b/src/bio.c @@ -311,6 +311,9 @@ static int wolfSSL_BIO_BASE64_write(WOLFSSL_BIO* bio, const void* data, return BAD_FUNC_ARG; } + /* Potentially unused when memory functions ignore heap hints */ + (void)front; + /* get the encoded length */ if (bio->flags & WOLFSSL_BIO_FLAG_BASE64_NO_NL) { if (Base64_Encode_NoNl((const byte*)data, inLen, NULL,