From 24987908857f6cc5e25f17638db45a73f32603a3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 11 Sep 2015 10:56:18 +0300 Subject: [PATCH] Fix NS build with --enable-checking='glyphs' * src/nsfns.m (unwind_create_frame): Make the preprocessor conditionals for referencing 'dpyinfo' consistent throughout the function. (Bug#21426) --- src/nsfns.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsfns.m b/src/nsfns.m index 89b9f7c4b62..9c805ac20d1 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -1009,7 +1009,7 @@ unwind_create_frame (Lisp_Object frame) x_free_frame_resources (f); free_glyphs (f); -#ifdef GLYPH_DEBUG +#if defined GLYPH_DEBUG && defined ENABLE_CHECKING /* Check that reference counts are indeed correct. */ eassert (dpyinfo->terminal->image_cache->refcount == image_cache_refcount); #endif -- 2.39.2