From d9cf0668e2c49a6b34c75e349a6f958e069c6811 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 16 Jun 2006 14:53:27 +0000 Subject: [PATCH] avoid "statement with no effect" warnings with gcc git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4698 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/Platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Platform.h b/Source/Platform.h index 235b544d..5499ce4b 100644 --- a/Source/Platform.h +++ b/Source/Platform.h @@ -50,9 +50,9 @@ typedef WORD LANGID; #endif #ifndef __BIG_ENDIAN__ -# define FIX_ENDIAN_INT32_INPLACE(x) (x) +# define FIX_ENDIAN_INT32_INPLACE(x) ((void)(x)) # define FIX_ENDIAN_INT32(x) (x) -# define FIX_ENDIAN_INT16_INPLACE(x) (x) +# define FIX_ENDIAN_INT16_INPLACE(x) ((void)(x)) # define FIX_ENDIAN_INT16(x) (x) #else # define FIX_ENDIAN_INT32_INPLACE(x) ((x) = SWAP_ENDIAN_INT32(x))