mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 06:57:08 +00:00
- remove dead code, fixes CID 60, CID 61
svn path=/trunk/; revision=36765
This commit is contained in:
parent
4e58a2eaca
commit
241074220b
|
@ -86,7 +86,9 @@ DisplayAdvancedSettings(HWND hWndParent, PDISPLAY_DEVICE_ENTRY DisplayDevice)
|
|||
HPSXA hpsxaDev, hpsxaDisp;
|
||||
BOOL Ret;
|
||||
IDataObject *pdo;
|
||||
#ifdef _MSC_VER
|
||||
HMODULE hShell32 = NULL;
|
||||
#endif
|
||||
CPSEAE msvc_SHCreatePropSheetExtArrayEx;
|
||||
|
||||
/* silence gcc warning */
|
||||
|
@ -140,8 +142,10 @@ DisplayAdvancedSettings(HWND hWndParent, PDISPLAY_DEVICE_ENTRY DisplayDevice)
|
|||
|
||||
IDataObject_Release(pdo);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
if (hShell32)
|
||||
FreeLibrary(hShell32);
|
||||
#endif
|
||||
|
||||
return Ret;
|
||||
}
|
||||
|
|
|
@ -243,8 +243,6 @@ ByeBye:
|
|||
HeapFree(GetProcessHeap(), 0, name);
|
||||
if (key != NULL)
|
||||
HeapFree(GetProcessHeap(), 0, key);
|
||||
if (devid != NULL)
|
||||
HeapFree(GetProcessHeap(), 0, devid);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue