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
14bf2dd2
Commit
14bf2dd2
authored
Apr 21, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Apr 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Remove two variables that are not really used; corresponding checks are disabled.
parent
9d5b6bb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
vartype.c
dlls/oleaut32/tests/vartype.c
+0
-4
No files found.
dlls/oleaut32/tests/vartype.c
View file @
14bf2dd2
...
@@ -5338,7 +5338,6 @@ static void test_SysReAllocString(void)
...
@@ -5338,7 +5338,6 @@ static void test_SysReAllocString(void)
if
(
str
)
if
(
str
)
{
{
LPINTERNAL_BSTR
bstr
;
LPINTERNAL_BSTR
bstr
;
BSTR
oldstr
=
str
;
int
changed
;
int
changed
;
bstr
=
Get
(
str
);
bstr
=
Get
(
str
);
...
@@ -5353,7 +5352,6 @@ static void test_SysReAllocString(void)
...
@@ -5353,7 +5352,6 @@ static void test_SysReAllocString(void)
ok
(
bstr
->
dwLen
==
2
,
"Expected 2, got %d
\n
"
,
bstr
->
dwLen
);
ok
(
bstr
->
dwLen
==
2
,
"Expected 2, got %d
\n
"
,
bstr
->
dwLen
);
ok
(
!
lstrcmpW
(
bstr
->
szString
,
szSmaller
),
"String different
\n
"
);
ok
(
!
lstrcmpW
(
bstr
->
szString
,
szSmaller
),
"String different
\n
"
);
oldstr
=
str
;
changed
=
SysReAllocString
(
&
str
,
szLarger
);
changed
=
SysReAllocString
(
&
str
,
szLarger
);
ok
(
changed
==
1
,
"Expected 1, got %d
\n
"
,
changed
);
ok
(
changed
==
1
,
"Expected 1, got %d
\n
"
,
changed
);
/* Early versions always make new strings rather than resizing */
/* Early versions always make new strings rather than resizing */
...
@@ -5378,7 +5376,6 @@ static void test_SysReAllocStringLen(void)
...
@@ -5378,7 +5376,6 @@ static void test_SysReAllocStringLen(void)
if
(
str
)
if
(
str
)
{
{
LPINTERNAL_BSTR
bstr
;
LPINTERNAL_BSTR
bstr
;
BSTR
oldstr
=
str
;
int
changed
;
int
changed
;
bstr
=
Get
(
str
);
bstr
=
Get
(
str
);
...
@@ -5393,7 +5390,6 @@ static void test_SysReAllocStringLen(void)
...
@@ -5393,7 +5390,6 @@ static void test_SysReAllocStringLen(void)
ok
(
bstr
->
dwLen
==
2
,
"Expected 2, got %d
\n
"
,
bstr
->
dwLen
);
ok
(
bstr
->
dwLen
==
2
,
"Expected 2, got %d
\n
"
,
bstr
->
dwLen
);
ok
(
!
lstrcmpW
(
bstr
->
szString
,
szSmaller
),
"String different
\n
"
);
ok
(
!
lstrcmpW
(
bstr
->
szString
,
szSmaller
),
"String different
\n
"
);
oldstr
=
str
;
changed
=
SysReAllocStringLen
(
&
str
,
szLarger
,
6
);
changed
=
SysReAllocStringLen
(
&
str
,
szLarger
,
6
);
ok
(
changed
==
1
,
"Expected 1, got %d
\n
"
,
changed
);
ok
(
changed
==
1
,
"Expected 1, got %d
\n
"
,
changed
);
/* Early versions always make new strings rather than resizing */
/* Early versions always make new strings rather than resizing */
...
...
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