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
620089aa
Commit
620089aa
authored
Dec 08, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix an uninitialized variable warning.
parent
510f7ee0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
path.c
dlls/kernel32/tests/path.c
+2
-2
No files found.
dlls/kernel32/tests/path.c
View file @
620089aa
...
...
@@ -1878,14 +1878,14 @@ static void test_SearchPathW(void)
HANDLE
handle
;
DWORD
ret
;
GetWindowsDirectoryW
(
pathW
,
ARRAY_SIZE
(
pathW
));
/* NULL filename */
ret
=
SearchPathW
(
pathW
,
NULL
,
NULL
,
ARRAY_SIZE
(
buffW
),
buffW
,
&
ptrW
);
ok
(
ret
==
0
,
"Expected failure, got %ld
\n
"
,
ret
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %#lx
\n
"
,
GetLastError
());
GetWindowsDirectoryW
(
pathW
,
ARRAY_SIZE
(
pathW
));
/* empty filename */
SetLastError
(
0xdeadbeef
);
ret
=
SearchPathW
(
pathW
,
fileW
,
NULL
,
ARRAY_SIZE
(
buffW
),
buffW
,
&
ptrW
);
...
...
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