Commit d7c5797b authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

wevtsvc: Remove duplicate dwControlsAccepted initialization.

dwControlsAccepted is initialized a few lines earlier. Signed-off-by: 's avatarDmitry Timoshkov <dmitry@baikal.ru>
parent 46a5454b
......@@ -2930,7 +2930,6 @@ static void test_EventLog(void)
else
{
ok(status.dwCurrentState == SERVICE_RUNNING, "got %#lx\n", status.dwCurrentState);
todo_wine
ok(status.dwControlsAccepted == SERVICE_ACCEPT_SHUTDOWN /* XP */ ||
status.dwControlsAccepted == (SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN) /* 2008 */ ||
status.dwControlsAccepted == (SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_TIMECHANGE | SERVICE_ACCEPT_SHUTDOWN),
......
......@@ -40,7 +40,6 @@ static void eventlog_update_status(DWORD state)
status.dwServiceSpecificExitCode = 0;
status.dwCheckPoint = 0;
status.dwWaitHint = 0;
status.dwControlsAccepted = 0;
status.dwCurrentState = state;
SetServiceStatus(svc_handle, &status);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment