Proper SXUNUSED() macro implementation.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-06-16 00:10:27 +02:00
parent fffce10ba8
commit 1a91fedb1f
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ typedef sxi32(*ProcRawStrCmp)(const SyString *, const SyString *);
#define SX_ADDR(PTR) ((sxptr)PTR)
#define SX_ARRAYSIZE(X) (sizeof(X)/sizeof(X[0]))
#define SXUNUSED(P) (P = 0)
#define SXUNUSED(P) ((void)P)
#define SX_EMPTY(PTR) (PTR == 0)
#define SX_EMPTY_STR(STR) (STR == 0 || STR[0] == 0 )
typedef struct SyMemBackend SyMemBackend;