Author: akhaldi
Date: Sat Aug 30 11:38:16 2014
New Revision: 63986
URL:
http://svn.reactos.org/svn/reactos?rev=63986&view=rev
Log:
[USER32]
* Remove unused pointer. CID 1223187.
CORE-7975
Modified:
trunk/reactos/win32ss/user/user32/windows/menu.c
Modified: trunk/reactos/win32ss/user/user32/windows/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/menu.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/menu.c [iso-8859-1] Sat Aug 30 11:38:16
2014
@@ -4586,11 +4586,10 @@
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;