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
7a87c8ac
Commit
7a87c8ac
authored
Feb 08, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localui/tests: Make sure to use return values (LLVM/Clang).
parent
90c9681e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
localui.c
dlls/localui/tests/localui.c
+2
-1
No files found.
dlls/localui/tests/localui.c
View file @
7a87c8ac
...
...
@@ -71,9 +71,10 @@ static PORT_INFO_2W * find_portinfo2(LPWSTR pPort)
if
(
!
pi_buffer
)
{
res
=
EnumPortsW
(
NULL
,
2
,
NULL
,
0
,
&
pi_needed
,
&
pi_numports
);
ok
(
!
res
,
"EnumPorts failed: got %d
\n
"
,
res
);
pi_buffer
=
HeapAlloc
(
GetProcessHeap
(),
0
,
pi_needed
);
SetLastError
(
0xdeadbeef
);
res
=
EnumPortsW
(
NULL
,
2
,
pi_buffer
,
pi_needed
,
&
pi_needed
,
&
pi_numports
);
ok
(
res
==
1
,
"EnumPorts failed: got %d
\n
"
,
res
);
}
if
(
pi_buffer
)
{
pi
=
(
PORT_INFO_2W
*
)
pi_buffer
;
...
...
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