Merge pull request #593 from maiself/fix-crash-cond

Fix typo in CRASH_COND leading to unexpected continuation after fail
pull/594/head
Hugo Locurcio 2021-08-02 18:07:23 +02:00 committed by GitHub
commit b56df8f6da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ typedef float real_t;
do { \ do { \
if (unlikely(cond)) { \ if (unlikely(cond)) { \
FATAL_PRINT(ERR_MSG_COND(cond)); \ FATAL_PRINT(ERR_MSG_COND(cond)); \
return; \ GENERATE_TRAP; \
} \ } \
} while (0) } while (0)
#endif #endif