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
159192cd
Commit
159192cd
authored
Nov 14, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion/tests: Simplify the check for an empty string (PVS-Studio).
parent
bbff30f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
asmname.c
dlls/fusion/tests/asmname.c
+2
-2
No files found.
dlls/fusion/tests/asmname.c
View file @
159192cd
...
...
@@ -425,7 +425,7 @@ static void test_CreateAssemblyNameObject(void)
str
[
0
]
=
'\0'
;
hr
=
IAssemblyName_GetName
(
name
,
&
size
,
str
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
lstrlenW
(
str
)
==
0
,
"Expected empty name
\n
"
);
ok
(
!
str
[
0
]
,
"Expected empty name
\n
"
);
ok
(
size
==
0
,
"Expected 0, got %d
\n
"
,
size
);
hi
=
0xbeefcace
;
...
...
@@ -461,7 +461,7 @@ static void test_CreateAssemblyNameObject(void)
str
[
0
]
=
'\0'
;
hr
=
IAssemblyName_GetName
(
name
,
&
size
,
str
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
lstrlenW
(
str
)
==
0
,
"Expected empty name
\n
"
);
ok
(
!
str
[
0
]
,
"Expected empty name
\n
"
);
ok
(
size
==
1
,
"Expected 1, got %d
\n
"
,
size
);
hi
=
0xbeefcace
;
...
...
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