diff options
| author | Matt Borgerson <contact@mborgerson.com> | 2019-12-17 14:15:55 -0700 |
|---|---|---|
| committer | Matt Borgerson <contact@mborgerson.com> | 2019-12-17 14:15:55 -0700 |
| commit | bdee9ec9eeb82633f98b4977432e8cf5cc529231 (patch) | |
| tree | c921d894b6d3df448448bbea02911f118098591b | |
| parent | da46c78dc1ef9e6d7fcbb2660deb08e08f121300 (diff) | |
| download | gdbstub-bdee9ec9eeb82633f98b4977432e8cf5cc529231.tar.gz | |
Remove unconditional ASSERT deadloop in release build
| -rw-r--r-- | gdbstub.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -59,9 +59,8 @@ } \ } #else -#define ASSERT(x) { \ - while(1); \ -} +#define ASSERT(x) \ + do {} while (0) #endif #endif |
