bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25338: [PATCH] Remove local variable with only one usage


From: Chris Gregory
Subject: bug#25338: [PATCH] Remove local variable with only one usage
Date: Mon, 02 Jan 2017 13:50:01 -0800

-- 
Chris Gregory

diff --git a/src/term.c b/src/term.c
index c067a86d18..0e8ad60de4 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3426,10 +3426,7 @@ tty_menu_last_menubar_item (struct frame *f)
 
       while (i < ASIZE (items))
        {
-         Lisp_Object str;
-
-         str = AREF (items, i + 1);
-         if (NILP (str))
+         if (NILP (AREF (items, i + 1)))
            break;
          i += 4;
        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]