mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
wolfssl/wolfcrypt/logging.h: when !WOLFSSL_VERBOSE_ERRORS, define WOLFSSL_ERROR_VERBOSE(e) as (void)(e) to avert clang-analyzer-deadcode.DeadStores, and avert bare semicolons.
This commit is contained in:
@ -204,9 +204,9 @@ WOLFSSL_API void wolfSSL_Debugging_OFF(void);
|
||||
OPENSSL_EXTRA */
|
||||
|
||||
#ifdef WOLFSSL_VERBOSE_ERRORS
|
||||
#define WOLFSSL_ERROR_VERBOSE WOLFSSL_ERROR
|
||||
#define WOLFSSL_ERROR_VERBOSE(e) WOLFSSL_ERROR(e)
|
||||
#else
|
||||
#define WOLFSSL_ERROR_VERBOSE(e)
|
||||
#define WOLFSSL_ERROR_VERBOSE(e) (void)(e)
|
||||
#endif /* WOLFSSL_VERBOSE_ERRORS */
|
||||
|
||||
#ifdef HAVE_STACK_SIZE_VERBOSE
|
||||
|
Reference in New Issue
Block a user