From 2c2a8a51300413de10d40de09ae2564be424626a Mon Sep 17 00:00:00 2001 From: flowtron Date: Tue, 25 May 2021 11:57:17 +0200 Subject: [PATCH] avoid compiler warning if not DEBUG build --- source/src/crypto.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/src/crypto.cpp b/source/src/crypto.cpp index 039a21b9..1caa4ecd 100644 --- a/source/src/crypto.cpp +++ b/source/src/crypto.cpp @@ -809,7 +809,9 @@ void authsetup(char **args, int numargs) // set up private and public keys uint32_t offs = 7337; loopi(16) fnv1a_add(offs, buf[i]); uchar *priv = buf + 24 + (offs & 0xfc), *prepriv = priv + 112 + ((offs >> 9) & 0xfc), res = 0; +#ifdef _DEBUG char hextemp[2 * preprivmaxlen + 1]; +#endif if(passdrunning) {