diff options
Diffstat (limited to 'src/cairoint.h')
-rw-r--r-- | src/cairoint.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cairoint.h b/src/cairoint.h index f39b9a18..b4e8196a 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -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] |