diff options
author | shennetsind <ind@henn.et> | 2013-12-17 23:02:35 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-12-17 23:02:35 -0200 |
commit | 47c194ad7fbeb5306d7fac2537ae33adb57d7916 (patch) | |
tree | 1b2826e8fae6dee6756a290c61b661d3c5cf6100 /src/common | |
parent | 38f6b2c68c59d3ed2e3fc6d4d75907939c4fdf61 (diff) | |
parent | 28cd7d19db63f1f636f399a850b51976bea0ccd9 (diff) | |
download | hercules-47c194ad7fbeb5306d7fac2537ae33adb57d7916.tar.gz hercules-47c194ad7fbeb5306d7fac2537ae33adb57d7916.tar.bz2 hercules-47c194ad7fbeb5306d7fac2537ae33adb57d7916.tar.xz hercules-47c194ad7fbeb5306d7fac2537ae33adb57d7916.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/nullpo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/nullpo.h b/src/common/nullpo.h index ae39b1151..05484135c 100644 --- a/src/common/nullpo.h +++ b/src/common/nullpo.h @@ -41,7 +41,7 @@ */ #define nullpo_chk(t) ( (t) != NULL ? false : (assert_report(__FILE__, __LINE__, __func__, #t, "nullpo info"), true) ) #else // ! NULLPO_CHECK -#define nullpo_chk(t) ((t), false) +#define nullpo_chk(t) ((void)(t), false) #endif // NULLPO_CHECK /** |