Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / win32ss / user / ntuser / monitor.c
index b0e4aa6..e5b2687 100644 (file)
@@ -673,7 +673,7 @@ cleanup:
  *      from MONITORINFO will be filled.
  *
  *   pDevice
- *      Pointer to a UNICODE_STRING which will recieve the device's name. The
+ *      Pointer to a UNICODE_STRING which will receive the device's name. The
  *      length should be CCHDEVICENAME
  *      Can be NULL
  *
@@ -786,7 +786,6 @@ NtUserMonitorFromPoint(
     IN POINT pt,
     IN DWORD dwFlags)
 {
-    INT cMonitors;
     RECTL rc;
     HMONITOR hMonitor = NULL;
 
@@ -808,7 +807,7 @@ NtUserMonitorFromPoint(
     UserEnterShared();
 
     /* Find intersecting monitor */
-    cMonitors = IntGetMonitorsFromRect(&rc, &hMonitor, NULL, 1, dwFlags);
+    IntGetMonitorsFromRect(&rc, &hMonitor, NULL, 1, dwFlags);
 
     UserLeave();
     return hMonitor;