From 41cf38df92127eba2b0f51812bcd16279daa42bf Mon Sep 17 00:00:00 2001 From: behlendo Date: Wed, 4 Jun 2008 22:52:13 +0000 Subject: [PATCH] Add missing () to quiet warnings in NDEBUG case git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@128 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c --- include/sys/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/debug.h b/include/sys/debug.h index 53050fc..41ce043 100644 --- a/include/sys/debug.h +++ b/include/sys/debug.h @@ -210,7 +210,7 @@ struct page_collection { #define ASSERTF(x, y, z...) ((void)0) #define VERIFY(x) ((void)(x)) -#define VERIFY3_IMPL(x, y, z, t, f, c) if (x == z) ((void)0) +#define VERIFY3_IMPL(x, y, z, t, f, c) if ((x) == (z)) ((void)0) #define VERIFY3S(x,y,z) VERIFY3_IMPL(x, y, z, int64_t, "%ld", (long)) #define VERIFY3U(x,y,z) VERIFY3_IMPL(x, y, z, uint64_t, "%lu", (unsigned long)) -- 2.40.0