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
c25776a9
Commit
c25776a9
authored
Sep 03, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Avoid a needless goto.
parent
f695cb6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
serial.c
dlls/ntdll/serial.c
+1
-2
No files found.
dlls/ntdll/serial.c
View file @
c25776a9
...
@@ -1322,7 +1322,7 @@ NTSTATUS COMM_DeviceIoControl(HANDLE hDevice,
...
@@ -1322,7 +1322,7 @@ NTSTATUS COMM_DeviceIoControl(HANDLE hDevice,
attr
.
SecurityQualityOfService
=
NULL
;
attr
.
SecurityQualityOfService
=
NULL
;
status
=
NtCreateEvent
(
&
hev
,
EVENT_ALL_ACCESS
,
&
attr
,
SynchronizationEvent
,
FALSE
);
status
=
NtCreateEvent
(
&
hev
,
EVENT_ALL_ACCESS
,
&
attr
,
SynchronizationEvent
,
FALSE
);
if
(
status
)
goto
done
;
if
(
status
)
return
status
;
}
}
status
=
io_control
(
hDevice
,
hev
,
UserApcRoutine
,
UserApcContext
,
status
=
io_control
(
hDevice
,
hev
,
UserApcRoutine
,
UserApcContext
,
piosb
,
dwIoControlCode
,
lpInBuffer
,
nInBufferSize
,
piosb
,
dwIoControlCode
,
lpInBuffer
,
nInBufferSize
,
...
@@ -1340,6 +1340,5 @@ NTSTATUS COMM_DeviceIoControl(HANDLE hDevice,
...
@@ -1340,6 +1340,5 @@ NTSTATUS COMM_DeviceIoControl(HANDLE hDevice,
else
status
=
io_control
(
hDevice
,
hEvent
,
UserApcRoutine
,
UserApcContext
,
else
status
=
io_control
(
hDevice
,
hEvent
,
UserApcRoutine
,
UserApcContext
,
piosb
,
dwIoControlCode
,
lpInBuffer
,
nInBufferSize
,
piosb
,
dwIoControlCode
,
lpInBuffer
,
nInBufferSize
,
lpOutBuffer
,
nOutBufferSize
);
lpOutBuffer
,
nOutBufferSize
);
done:
return
status
;
return
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