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
8bb6addb
Commit
8bb6addb
authored
Jan 07, 2018
by
Alex Henrie
Committed by
Alexandre Julliard
Jan 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Add missing return value check to shelllink tests (Coverity).
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0f49d2a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
shelllink.c
dlls/shell32/tests/shelllink.c
+3
-2
No files found.
dlls/shell32/tests/shelllink.c
View file @
8bb6addb
...
...
@@ -169,8 +169,9 @@ static void test_get_set(void)
ok
(
finddata
.
dwFileAttributes
==
0
,
"unexpected attributes %x
\n
"
,
finddata
.
dwFileAttributes
);
ok
(
finddata
.
cFileName
[
0
]
==
0
,
"unexpected filename '%s'
\n
"
,
finddata
.
cFileName
);
CoCreateInstance
(
&
CLSID_ShellLink
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IShellLinkW
,
(
LPVOID
*
)
&
slW
);
r
=
CoCreateInstance
(
&
CLSID_ShellLink
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IShellLinkW
,
(
LPVOID
*
)
&
slW
);
ok
(
r
==
S_OK
,
"CoCreateInstance failed (0x%08x)
\n
"
,
r
);
if
(
!
slW
/* Win9x */
||
!
pGetLongPathNameA
/* NT4 */
)
skip
(
"SetPath with NULL parameter crashes on Win9x and some NT4
\n
"
);
else
...
...
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