From d568bb5a06f8b3b5bbe6f032fc189da3603439ac Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Dec 2022 09:28:16 -0500 Subject: [PATCH] Fix unused computed values For example: ../libs/pbd/reallocpool.cc:138:38: warning: value computed is not used [-Wunused-value] 138 | ASSERT (_asize (ptr) <= newsize); --- libs/pbd/reallocpool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pbd/reallocpool.cc b/libs/pbd/reallocpool.cc index 8a57451fa5..84d1846f35 100644 --- a/libs/pbd/reallocpool.cc +++ b/libs/pbd/reallocpool.cc @@ -32,7 +32,7 @@ #define ASSERT assert #else #define STATS_segment -#define ASSERT +#define ASSERT(exp) #endif #ifdef RAP_WITH_CALL_STATS