[USER32]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 30 Aug 2014 11:38:16 +0000 (11:38 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 30 Aug 2014 11:38:16 +0000 (11:38 +0000)
* Remove unused pointer. CID 1223187.
CORE-7975

svn path=/trunk/; revision=63986

reactos/win32ss/user/user32/windows/menu.c

index 6ec7c85..115719d 100644 (file)
@@ -4586,11 +4586,10 @@ CheckMenuItem(HMENU hmenu,
              UINT uIDCheckItem,
              UINT uCheck)
 {
-  PMENU pMenu;
   PITEM item;
   DWORD Ret;
 
-  if (!(pMenu = ValidateHandle(hmenu, TYPE_MENU)))
+  if (!ValidateHandle(hmenu, TYPE_MENU))
      return -1;
 
   if (!(item = MENU_FindItem( &hmenu, &uIDCheckItem, uCheck ))) return -1;