mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-22 12:57:34 +00:00
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.
This commit is contained in:
parent
63b6281fdd
commit
a1327bbc64
1 changed files with 2 additions and 3 deletions
|
|
@ -2260,9 +2260,8 @@ check_glyph_memory (void)
|
||||||
Lisp_Object tail, frame;
|
Lisp_Object tail, frame;
|
||||||
|
|
||||||
/* Free glyph memory for all frames. */
|
/* Free glyph memory for all frames. */
|
||||||
if (!NILP (Vframe_list))
|
FOR_EACH_FRAME (tail, frame)
|
||||||
FOR_EACH_FRAME (tail, frame)
|
free_glyphs (XFRAME (frame));
|
||||||
free_glyphs (XFRAME (frame));
|
|
||||||
|
|
||||||
#if defined GLYPH_DEBUG && defined ENABLE_CHECKING
|
#if defined GLYPH_DEBUG && defined ENABLE_CHECKING
|
||||||
/* Check that nothing is left allocated. */
|
/* Check that nothing is left allocated. */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue