aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorMartin Rudalics2017-12-16 10:14:29 +0100
committerMartin Rudalics2017-12-16 10:14:29 +0100
commita1327bbc645efa42f14024785da4fed88aa7ec21 (patch)
treeaf0230f3059973569c54950034d1dd45f77fe703 /src/dispnew.c
parent63b6281fdd9c00c6d968e936289c1e32aa9d0dd3 (diff)
downloademacs-a1327bbc645efa42f14024785da4fed88aa7ec21.tar.gz
emacs-a1327bbc645efa42f14024785da4fed88aa7ec21.zip
Remove one more check that Vframe_list is non-nil
* src/dispnew.c (check_glyph_memory): Remove no-longer-needed check that Vframe_list is non-nil, as FOR_EACH_FRAME no longer assumes that.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index d07864718c3..b0fc5c31fa1 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2260,9 +2260,8 @@ check_glyph_memory (void)
2260 Lisp_Object tail, frame; 2260 Lisp_Object tail, frame;
2261 2261
2262 /* Free glyph memory for all frames. */ 2262 /* Free glyph memory for all frames. */
2263 if (!NILP (Vframe_list)) 2263 FOR_EACH_FRAME (tail, frame)
2264 FOR_EACH_FRAME (tail, frame) 2264 free_glyphs (XFRAME (frame));
2265 free_glyphs (XFRAME (frame));
2266 2265
2267#if defined GLYPH_DEBUG && defined ENABLE_CHECKING 2266#if defined GLYPH_DEBUG && defined ENABLE_CHECKING
2268 /* Check that nothing is left allocated. */ 2267 /* Check that nothing is left allocated. */