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
75f8de0d
Commit
75f8de0d
authored
Feb 10, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Make sure return values are used (LLVM/Clang).
parent
cacff4b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
shelllink.c
dlls/shell32/tests/shelllink.c
+5
-2
No files found.
dlls/shell32/tests/shelllink.c
View file @
75f8de0d
...
...
@@ -431,7 +431,7 @@ void create_lnk_(int line, const WCHAR* path, lnk_desc_t* desc, int save_fails)
if
(
0
)
{
/* crashes on XP */
r
=
IPersistFile_GetCurFile
(
pf
,
NULL
);
IPersistFile_GetCurFile
(
pf
,
NULL
);
}
/* test GetCurFile before ::Save */
...
...
@@ -760,6 +760,8 @@ static void test_load_save(void)
check_lnk
(
lnkfile
,
&
desc
,
0x0
);
r
=
pGetShortPathNameA
(
mydir
,
mypath
,
sizeof
(
mypath
));
ok
(
r
<
sizeof
(
mypath
),
"GetShortPathName failed (%d), err %d
\n
"
,
r
,
GetLastError
());
strcpy
(
realpath
,
mypath
);
strcat
(
realpath
,
"
\\
test.txt"
);
strcat
(
mypath
,
"
\\\\
test.txt"
);
...
...
@@ -809,6 +811,7 @@ static void test_load_save(void)
check_lnk
(
lnkfile
,
&
desc
,
0x4
);
r
=
DeleteFileA
(
realpath
);
ok
(
r
,
"failed to delete file %s (%d)
\n
"
,
realpath
,
GetLastError
());
/* FIXME: Also test saving a .lnk pointing to a pidl that cannot be
* represented as a path.
...
...
@@ -885,7 +888,7 @@ static void test_datalink(void)
if
(
0
)
{
/* the following crashes */
r
=
IShellLinkDataList_GetFlags
(
dl
,
NULL
);
IShellLinkDataList_GetFlags
(
dl
,
NULL
);
}
flags
=
0
;
...
...
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