]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove no-longer-needed delete_frame UNINIT
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Feb 2025 00:56:56 +0000 (16:56 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Feb 2025 08:35:48 +0000 (09:35 +0100)
* src/frame.c (delete_frame): Remove a local with UNINIT that is
no longer needed now that GCC bug#85563 is fixed, as we don’t
need to worry about porting --enable-gcc-warnings to older GCC.
This change reverts this part of my commit
“Port --enable-gcc-warnings to GCC 8”
8c3215e7a47e3caaa005bf573765ed63e0739b89
dated Sat Apr 28 16:49:24 2018 -0700.

(cherry picked from commit 4aab2f45b3dc39f4ebe4e09fd4e3b56b757843aa)

src/frame.c

index d060fbfd54dd1cd5db68fe72c8de8f69fab42cb1..194a5cc161879aa27f098daf54488b24889dd61c 100644 (file)
@@ -2481,7 +2481,6 @@ delete_frame (Lisp_Object frame, Lisp_Object force)
       else
        {
          Lisp_Object tail;
-         Lisp_Object frame1 UNINIT;  /* This line works around GCC bug 85563.  */
          eassume (CONSP (Vframe_list));
 
          /* Look for another visible frame on the same terminal.