File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ WOLFSSL_LOCAL int wc_debug_CipherLifecycleFree(void **CipherLifecycleTag,
449449
450450#endif
451451
452- #define ASSERT_SAVED_VECTOR_REGISTERS (fail_clause ) do { \
452+ #define ASSERT_SAVED_VECTOR_REGISTERS () do { \
453453 if (wc_svr_count <= 0) { \
454454 fprintf(stderr, \
455455 ("ASSERT_SAVED_VECTOR_REGISTERS : %s @ L%d : " \
@@ -460,7 +460,6 @@ WOLFSSL_LOCAL int wc_debug_CipherLifecycleFree(void **CipherLifecycleTag,
460460 wc_svr_last_file, \
461461 wc_svr_last_line); \
462462 DEBUG_VECTOR_REGISTERS_EXTRA_FAIL_CLAUSE \
463- { fail_clause } \
464463 } \
465464 } while (0)
466465 #define ASSERT_RESTORED_VECTOR_REGISTERS (fail_clause ) do { \
@@ -477,7 +476,7 @@ WOLFSSL_LOCAL int wc_debug_CipherLifecycleFree(void **CipherLifecycleTag,
477476 { fail_clause } \
478477 } \
479478 } while (0)
480- #define RESTORE_VECTOR_REGISTERS (... ) do { \
479+ #define RESTORE_VECTOR_REGISTERS () do { \
481480 --wc_svr_count; \
482481 if ((wc_svr_count > 4) || (wc_svr_count < 0)) { \
483482 fprintf(stderr, \
Original file line number Diff line number Diff line change @@ -1764,7 +1764,7 @@ typedef struct w64wrapper {
17641764 #define WC_DEBUG_SET_VECTOR_REGISTERS_RETVAL (x ) WC_DO_NOTHING
17651765 #endif
17661766 #ifndef ASSERT_SAVED_VECTOR_REGISTERS
1767- #define ASSERT_SAVED_VECTOR_REGISTERS (fail_clause ) WC_DO_NOTHING
1767+ #define ASSERT_SAVED_VECTOR_REGISTERS () WC_DO_NOTHING
17681768 #endif
17691769 #ifndef ASSERT_RESTORED_VECTOR_REGISTERS
17701770 #define ASSERT_RESTORED_VECTOR_REGISTERS (fail_clause ) WC_DO_NOTHING
You can’t perform that action at this time.
0 commit comments