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
3675b703
Commit
3675b703
authored
Jan 07, 2018
by
Alex Henrie
Committed by
Alexandre Julliard
Jan 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Add missing return value check to module tests (Coverity).
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8bb6addb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
module.c
dlls/kernel32/tests/module.c
+2
-1
No files found.
dlls/kernel32/tests/module.c
View file @
3675b703
...
...
@@ -972,7 +972,8 @@ static void test_AddDllDirectory(void)
buf
[
0
]
=
'\0'
;
GetTempPathW
(
sizeof
(
path
)
/
sizeof
(
path
[
0
]),
path
);
GetTempFileNameW
(
path
,
tmpW
,
0
,
buf
);
ret
=
GetTempFileNameW
(
path
,
tmpW
,
0
,
buf
);
ok
(
ret
,
"GetTempFileName failed err %u
\n
"
,
GetLastError
()
);
SetLastError
(
0xdeadbeef
);
cookie
=
pAddDllDirectory
(
buf
);
ok
(
cookie
!=
NULL
,
"AddDllDirectory failed err %u
\n
"
,
GetLastError
()
);
...
...
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