diff src/macfns.c @ 59881:7cbf9ea41a2a

* macfns.c (unwind_create_frame): Fixing compile error due to xassert being uncondition, but predicate is.
author Steven Tamm <steventamm@mac.com>
date Thu, 03 Feb 2005 07:09:43 +0000
parents bf1c907c5570
children 47a7608e0711
line wrap: on
line diff
--- a/src/macfns.c	Thu Feb 03 07:09:17 2005 +0000
+++ b/src/macfns.c	Thu Feb 03 07:09:43 2005 +0000
@@ -2527,9 +2527,11 @@
 
       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;
     }