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
993c833c
Commit
993c833c
authored
Nov 28, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Remove a superfluous condition.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
216530f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sync.c
dlls/ntoskrnl.exe/sync.c
+1
-1
No files found.
dlls/ntoskrnl.exe/sync.c
View file @
993c833c
...
...
@@ -1251,7 +1251,7 @@ void WINAPI IoReleaseRemoveLockAndWaitEx( IO_REMOVE_LOCK *lock, void *tag, ULONG
lock
->
Common
.
Removed
=
TRUE
;
if
(
!
(
count
=
InterlockedDecrement
(
&
lock
->
Common
.
IoCount
))
&&
lock
->
Common
.
Removed
)
if
(
!
(
count
=
InterlockedDecrement
(
&
lock
->
Common
.
IoCount
)))
KeSetEvent
(
&
lock
->
Common
.
RemoveEvent
,
IO_NO_INCREMENT
,
FALSE
);
else
if
(
count
<
0
)
ERR
(
"Lock %p is not acquired!
\n
"
,
lock
);
...
...
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