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

From: Chris Gregory <[email-masked]>
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;
 	}