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
This commit is contained in:
parent
3e561714e4
commit
d9cf0668e2
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue