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
19f58e88
Commit
19f58e88
authored
Jul 25, 2011
by
Austin English
Committed by
Alexandre Julliard
Jul 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Make sure return values are used (LLVM/Clang).
parent
94f63d76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
profile.c
dlls/kernel32/tests/profile.c
+4
-0
No files found.
dlls/kernel32/tests/profile.c
View file @
19f58e88
...
@@ -146,6 +146,8 @@ static void test_profile_string(void)
...
@@ -146,6 +146,8 @@ static void test_profile_string(void)
ret
=
GetPrivateProfileStringW
(
emptyW
,
keyW
,
emptyW
,
bufW
,
ret
=
GetPrivateProfileStringW
(
emptyW
,
keyW
,
emptyW
,
bufW
,
sizeof
(
bufW
)
/
sizeof
(
bufW
[
0
]),
TESTFILE2W
);
sizeof
(
bufW
)
/
sizeof
(
bufW
[
0
]),
TESTFILE2W
);
todo_wine
todo_wine
ok
(
ret
==
13
,
"expected 13, got %u
\n
"
,
ret
);
todo_wine
ok
(
!
lstrcmpW
(
valsectionW
,
bufW
),
"expected %s, got %s
\n
"
,
ok
(
!
lstrcmpW
(
valsectionW
,
bufW
),
"expected %s, got %s
\n
"
,
wine_dbgstr_w
(
valsectionW
),
wine_dbgstr_w
(
bufW
)
);
wine_dbgstr_w
(
valsectionW
),
wine_dbgstr_w
(
bufW
)
);
...
@@ -153,6 +155,8 @@ static void test_profile_string(void)
...
@@ -153,6 +155,8 @@ static void test_profile_string(void)
ret
=
GetPrivateProfileStringW
(
sW
,
emptyW
,
emptyW
,
bufW
,
ret
=
GetPrivateProfileStringW
(
sW
,
emptyW
,
emptyW
,
bufW
,
sizeof
(
bufW
)
/
sizeof
(
bufW
[
0
]),
TESTFILE2W
);
sizeof
(
bufW
)
/
sizeof
(
bufW
[
0
]),
TESTFILE2W
);
todo_wine
todo_wine
ok
(
ret
==
10
,
"expected 10, got %u
\n
"
,
ret
);
todo_wine
ok
(
!
lstrcmpW
(
valnokeyW
,
bufW
),
"expected %s, got %s
\n
"
,
ok
(
!
lstrcmpW
(
valnokeyW
,
bufW
),
"expected %s, got %s
\n
"
,
wine_dbgstr_w
(
valnokeyW
),
wine_dbgstr_w
(
bufW
)
);
wine_dbgstr_w
(
valnokeyW
),
wine_dbgstr_w
(
bufW
)
);
...
...
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