diff options
author | bunnei <bunneidev@gmail.com> | 2021-08-06 07:29:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 07:29:45 +0200 |
commit | 42d8e08f7847af3b8e8ceea14ad7193fdbdf53ef (patch) | |
tree | 8c63dc1dc09dfeb650e84841e1f245875502edcf /src/common | |
parent | Merge pull request #6813 from Morph1984/hex-string-to-uuid (diff) | |
parent | assert: Verify formatting (diff) | |
download | yuzu-42d8e08f7847af3b8e8ceea14ad7193fdbdf53ef.tar yuzu-42d8e08f7847af3b8e8ceea14ad7193fdbdf53ef.tar.gz yuzu-42d8e08f7847af3b8e8ceea14ad7193fdbdf53ef.tar.bz2 yuzu-42d8e08f7847af3b8e8ceea14ad7193fdbdf53ef.tar.lz yuzu-42d8e08f7847af3b8e8ceea14ad7193fdbdf53ef.tar.xz yuzu-42d8e08f7847af3b8e8ceea14ad7193fdbdf53ef.tar.zst yuzu-42d8e08f7847af3b8e8ceea14ad7193fdbdf53ef.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/assert.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/assert.h b/src/common/assert.h index b3ba35c0f..33060d865 100644 --- a/src/common/assert.h +++ b/src/common/assert.h @@ -52,8 +52,12 @@ assert_noinline_call(const Fn& fn) { #define DEBUG_ASSERT(_a_) ASSERT(_a_) #define DEBUG_ASSERT_MSG(_a_, ...) ASSERT_MSG(_a_, __VA_ARGS__) #else // not debug -#define DEBUG_ASSERT(_a_) -#define DEBUG_ASSERT_MSG(_a_, _desc_, ...) +#define DEBUG_ASSERT(_a_) \ + do { \ + } while (0) +#define DEBUG_ASSERT_MSG(_a_, _desc_, ...) \ + do { \ + } while (0) #endif #define UNIMPLEMENTED() ASSERT_MSG(false, "Unimplemented code!") |