diff options
author | Richard Braun <rbraun@sceen.net> | 2017-09-02 00:53:33 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-09-02 00:59:53 +0200 |
commit | cf5a5cbed531777bddbf55c4385902cb4331918e (patch) | |
tree | be4ca2b290b9a1ba5c06568bee9145fe4fb2a472 | |
parent | 3fc1083c811d6a9e7fa6c816719cf8fc0577aa0f (diff) |
macros: remove redefinition of assert with side effects
Having side effects in assert is just not a good idea.
-rw-r--r-- | macros.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -90,12 +90,4 @@ #define __unused __attribute__((unused)) #endif -/* - * XXX Suppress warnings caused by some implementations of assert(). - */ -#ifdef NDEBUG -#undef assert -#define assert(x) ((void)(x)) -#endif /* NDEBUG */ - #endif /* _MACROS_H */ |