Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d7c5797b
Commit
d7c5797b
authored
Aug 08, 2022
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wevtsvc: Remove duplicate dwControlsAccepted initialization.
dwControlsAccepted is initialized a few lines earlier. Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
parent
46a5454b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
service.c
dlls/advapi32/tests/service.c
+0
-1
wevtsvc.c
dlls/wevtsvc/wevtsvc.c
+0
-1
No files found.
dlls/advapi32/tests/service.c
View file @
d7c5797b
...
...
@@ -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
),
...
...
dlls/wevtsvc/wevtsvc.c
View file @
d7c5797b
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment