cairoint.h: Change ASSERT_NOT_REACHED to remove compiler warning

This commit is contained in:
Chris Wilson 2010-04-21 11:59:33 +01:00
parent d366da7d8c
commit 1923a33a72

View file

@ -138,8 +138,7 @@ _cairo_win32_tmpfile (void);
#define ASSERT_NOT_REACHED \
do { \
static const int NOT_REACHED = 0; \
assert (NOT_REACHED); \
assert (!"reached"); \
} while (0)
#define COMPILE_TIME_ASSERT1(condition, line) \
typedef int compile_time_assertion_at_line_##line##_failed [(condition)?1:-1]