Removed nop() macro.
committer: mfx <mfx> 979746778 +0000
This commit is contained in:
@@ -299,10 +299,6 @@ typedef RETSIGTYPE (SIGTYPEENTRY *sig_type)(int);
|
||||
#define outp upx_outp
|
||||
|
||||
|
||||
// a dummy statement
|
||||
#define nop ((void)0)
|
||||
|
||||
|
||||
#define COMPILE_TIME_ASSERT(expr) \
|
||||
{ typedef int __upx_compile_time_assert_fail[(expr) ? 1 : -1]; }
|
||||
|
||||
@@ -332,9 +328,6 @@ typedef RETSIGTYPE (SIGTYPEENTRY *sig_type)(int);
|
||||
// memory util
|
||||
**************************************************************************/
|
||||
|
||||
#undef FREE
|
||||
#define FREE(ptr) if (ptr) { free(ptr); ptr = NULL; }
|
||||
|
||||
#undef UNUSED
|
||||
#if 1
|
||||
# define UNUSED(var) { typedef int __upx_unused[sizeof(var) ? 2 : 1]; }
|
||||
|
||||
Reference in New Issue
Block a user