mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[DESK] SetScreenSaver(): Remove remnant 'DeleteMode' variable (#6593)
Addendum to commit d21e3a1d2
(r58360).
This commit is contained in:
parent
c17a6542ac
commit
6185c66c61
1 changed files with 0 additions and 4 deletions
|
@ -590,9 +590,6 @@ static VOID
|
|||
SetScreenSaver(HWND hwndDlg, PDATA pData)
|
||||
{
|
||||
HKEY regKey;
|
||||
BOOL DeleteMode = FALSE;
|
||||
|
||||
DBG_UNREFERENCED_LOCAL_VARIABLE(DeleteMode);
|
||||
|
||||
if (RegOpenKeyEx(HKEY_CURRENT_USER,
|
||||
_T("Control Panel\\Desktop"),
|
||||
|
@ -622,7 +619,6 @@ SetScreenSaver(HWND hwndDlg, PDATA pData)
|
|||
{
|
||||
/* Windows deletes the value if no screensaver is set */
|
||||
RegDeleteValue(regKey, _T("SCRNSAVE.EXE"));
|
||||
DeleteMode = TRUE;
|
||||
|
||||
SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, FALSE, 0, SPIF_UPDATEINIFILE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue