forked from wolfSSL/wolfssl
wolfcrypt/test/test.c: add WC_MAYBE_UNUSED attribute to declaration of max_relative_stack, to accommodate compilation settings when subsumed within testsuite.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user