mirror of https://github.com/wolfSSL/wolfssl.git
wolfcrypt/test/test.c: add WC_MAYBE_UNUSED attribute to declaration of max_relative_stack, to accommodate compilation settings when subsumed within testsuite.
parent
7e99ccc782
commit
6a3451ca54
|
@ -58,9 +58,10 @@
|
|||
|
||||
#ifdef HAVE_STACK_SIZE_VERBOSE
|
||||
#ifdef WOLFSSL_TEST_MAX_RELATIVE_STACK_BYTES
|
||||
static ssize_t max_relative_stack = WOLFSSL_TEST_MAX_RELATIVE_STACK_BYTES;
|
||||
static WC_MAYBE_UNUSED ssize_t max_relative_stack =
|
||||
WOLFSSL_TEST_MAX_RELATIVE_STACK_BYTES;
|
||||
#else
|
||||
static ssize_t max_relative_stack = -1;
|
||||
static WC_MAYBE_UNUSED ssize_t max_relative_stack = -1;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue