Author: akhaldi
Date: Sat Jul 14 09:31:24 2012
New Revision: 56883
URL:
http://svn.reactos.org/svn/reactos?rev=56883&view=rev
Log:
[WIN32SS]
* Remove some unused-but-set variables.
Modified:
trunk/reactos/win32ss/user/ntuser/object.c
Modified: trunk/reactos/win32ss/user/ntuser/object.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/object…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/object.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/object.c [iso-8859-1] Sat Jul 14 09:31:24 2012
@@ -501,38 +501,32 @@
{
case otWindow:
{
- PWND Window;
- if ((Window = UserGetWindowObject((HWND) handle))) return TRUE;
+ if (UserGetWindowObject((HWND) handle)) return TRUE;
return FALSE;
}
case otMenu:
{
- PMENU_OBJECT Menu;
- if ((Menu = UserGetMenuObject((HMENU) handle))) return TRUE;
+ if (UserGetMenuObject((HMENU) handle)) return TRUE;
return FALSE;
}
case otAccel:
{
- PACCELERATOR_TABLE Accel;
- if ((Accel = UserGetAccelObject((HACCEL) handle))) return TRUE;
+ if (UserGetAccelObject((HACCEL) handle)) return TRUE;
return FALSE;
}
case otCursorIcon:
{
- PCURICON_OBJECT Cursor;
- if ((Cursor = UserGetCurIconObject((HCURSOR) handle))) return TRUE;
+ if (UserGetCurIconObject((HCURSOR) handle)) return TRUE;
return FALSE;
}
case otHook:
{
- PHOOK Hook;
- if ((Hook = IntGetHookObject((HHOOK) handle))) return TRUE;
+ if (IntGetHookObject((HHOOK) handle)) return TRUE;
return FALSE;
}
case otMonitor:
{
- PMONITOR Monitor;
- if ((Monitor = UserGetMonitorObject((HMONITOR) handle))) return TRUE;
+ if (UserGetMonitorObject((HMONITOR) handle)) return TRUE;
return FALSE;
}
case otCallProc: