hack to quiet a warning
This commit is contained in:
@@ -86,7 +86,8 @@ namespace Checkpoints
|
||||
#define NORETURN
|
||||
#endif
|
||||
|
||||
static inline void NORETURN crash() { *(char*)0=0; }
|
||||
/* The infinite loop isn't actually reached; it's just there to shut up a warning. */
|
||||
static inline void NORETURN crash() { *(char*)0=0; while(1) ; }
|
||||
|
||||
/* Assertion that sets an optional message and brings up the crash handler, so
|
||||
* we get a backtrace. This should probably be used instead of throwing an
|
||||
|
||||
Reference in New Issue
Block a user