From f6c62d96905001cee7e45e1e4e621fdcda9dabbf Mon Sep 17 00:00:00 2001 From: Steven Tamm Date: Thu, 3 Feb 2005 07:09:43 +0000 Subject: [PATCH] * macfns.c (unwind_create_frame): Fixing compile error due to xassert being uncondition, but predicate is. --- src/ChangeLog | 4 +++- src/macfns.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 16b6256556c..4dcf9208643 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,9 @@ 2005-02-02 Steven Tamm + * macfns.c (unwind_create_frame): Fixing compile error due to + xassert being uncondition, but predicate is. * dispnew.c (update_window): Fixing compile error due to - GLYPH_DEBUG being undefined. + xassert being uncondition, but predicate is. 2005-02-02 Miles Bader diff --git a/src/macfns.c b/src/macfns.c index 33da9091575..416522b49b9 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -2527,9 +2527,11 @@ unwind_create_frame (frame) x_free_frame_resources (f); +#if GLYPH_DEBUG /* Check that reference counts are indeed correct. */ xassert (dpyinfo->reference_count == dpyinfo_refcount); xassert (dpyinfo->image_cache->refcount == image_cache_refcount); +#endif return Qt; } -- 2.39.5