mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[WIN32SS:USER] Remove useless assignations of pdo variable
Addendum to 30a7d19d84
This commit is contained in:
@@ -245,12 +245,7 @@ UserEnumDisplayDevices(
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
if (!pustrDevice)
|
||||
{
|
||||
ASSERT(pGraphicsDevice->PhysDeviceHandle);
|
||||
pdo = pGraphicsDevice->PhysDeviceHandle;
|
||||
}
|
||||
else
|
||||
if (pustrDevice)
|
||||
{
|
||||
EngpUpdateMonitorDevices(pGraphicsDevice);
|
||||
if (iDevNum >= pGraphicsDevice->dwMonCnt)
|
||||
@@ -258,7 +253,6 @@ UserEnumDisplayDevices(
|
||||
TRACE("No monitor #%u for '%wZ'\n", iDevNum + 1, pustrDevice);
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
pdo = pGraphicsDevice->pvMonDev[iDevNum].pdo;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user