WOLFSSH_UNUSED instead of (void)var

pull/589/head
gojimmypi 2023-09-23 08:38:44 -07:00
parent 2d9292bfa5
commit 56ca2d636a
1 changed files with 1 additions and 1 deletions

View File

@ -873,7 +873,7 @@ int IdentifyKey(const byte* in, word32 inSz, int isPrivate, void* heap)
word32 idx;
int ret;
int dynType = isPrivate ? DYNTYPE_PRIVKEY : DYNTYPE_PUBKEY;
(void) dynType;
WOLFSSH_UNUSED(dynType);
key = (union wolfSSH_key*)WMALLOC(sizeof(union wolfSSH_key), heap, dynType);