Properly mark C-- calls to _assertFail as "never returns".
authorGeoffrey Mainland <gmainlan@microsoft.com>
Tue, 30 Oct 2012 20:49:37 +0000 (20:49 +0000)
committerGeoffrey Mainland <gmainlan@microsoft.com>
Tue, 30 Oct 2012 20:50:47 +0000 (20:50 +0000)
includes/Cmm.h

index 2b5d93b..36aae9b 100644 (file)
        if (predicate) {                        \
            /*null*/;                           \
        } else {                                \
-           foreign "C" _assertFail(NULL, __LINE__); \
+           foreign "C" _assertFail(NULL, __LINE__) never returns; \
         }
 #else
 #define ASSERT(p) /* nothing */