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
a41a574d
Commit
a41a574d
authored
Feb 16, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Remove dead assignments (LLVM/Clang).
parent
ba6a41a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
misc.c
dlls/comctl32/tests/misc.c
+0
-7
No files found.
dlls/comctl32/tests/misc.c
View file @
a41a574d
...
@@ -87,18 +87,15 @@ static void test_GetPtrAW(void)
...
@@ -87,18 +87,15 @@ static void test_GetPtrAW(void)
* Our implementation also crashes and we should probably leave
* Our implementation also crashes and we should probably leave
* it like that.
* it like that.
*/
*/
count
=
-
1
;
count
=
pStr_GetPtrA
(
NULL
,
NULL
,
destsize
);
count
=
pStr_GetPtrA
(
NULL
,
NULL
,
destsize
);
trace
(
"count : %d
\n
"
,
count
);
trace
(
"count : %d
\n
"
,
count
);
}
}
count
=
0
;
count
=
pStr_GetPtrA
(
source
,
NULL
,
0
);
count
=
pStr_GetPtrA
(
source
,
NULL
,
0
);
ok
(
count
==
sourcelen
||
ok
(
count
==
sourcelen
||
broken
(
count
==
sourcelen
-
1
),
/* win9x */
broken
(
count
==
sourcelen
-
1
),
/* win9x */
"Expected count to be %d, it was %d
\n
"
,
sourcelen
,
count
);
"Expected count to be %d, it was %d
\n
"
,
sourcelen
,
count
);
count
=
0
;
strcpy
(
dest
,
desttest
);
strcpy
(
dest
,
desttest
);
count
=
pStr_GetPtrA
(
source
,
dest
,
0
);
count
=
pStr_GetPtrA
(
source
,
dest
,
0
);
ok
(
count
==
sourcelen
||
ok
(
count
==
sourcelen
||
...
@@ -108,26 +105,22 @@ static void test_GetPtrAW(void)
...
@@ -108,26 +105,22 @@ static void test_GetPtrAW(void)
broken
(
!
lstrcmp
(
dest
,
""
)),
/* Win7 */
broken
(
!
lstrcmp
(
dest
,
""
)),
/* Win7 */
"Expected destination to not have changed
\n
"
);
"Expected destination to not have changed
\n
"
);
count
=
0
;
count
=
pStr_GetPtrA
(
source
,
NULL
,
destsize
);
count
=
pStr_GetPtrA
(
source
,
NULL
,
destsize
);
ok
(
count
==
sourcelen
||
ok
(
count
==
sourcelen
||
broken
(
count
==
sourcelen
-
1
),
/* win9x */
broken
(
count
==
sourcelen
-
1
),
/* win9x */
"Expected count to be %d, it was %d
\n
"
,
sourcelen
,
count
);
"Expected count to be %d, it was %d
\n
"
,
sourcelen
,
count
);
count
=
0
;
count
=
pStr_GetPtrA
(
source
,
dest
,
destsize
);
count
=
pStr_GetPtrA
(
source
,
dest
,
destsize
);
ok
(
count
==
sourcelen
||
ok
(
count
==
sourcelen
||
broken
(
count
==
sourcelen
-
1
),
/* win9x */
broken
(
count
==
sourcelen
-
1
),
/* win9x */
"Expected count to be %d, it was %d
\n
"
,
sourcelen
,
count
);
"Expected count to be %d, it was %d
\n
"
,
sourcelen
,
count
);
ok
(
!
lstrcmp
(
source
,
dest
),
"Expected source and destination to be the same
\n
"
);
ok
(
!
lstrcmp
(
source
,
dest
),
"Expected source and destination to be the same
\n
"
);
count
=
-
1
;
strcpy
(
dest
,
desttest
);
strcpy
(
dest
,
desttest
);
count
=
pStr_GetPtrA
(
NULL
,
dest
,
destsize
);
count
=
pStr_GetPtrA
(
NULL
,
dest
,
destsize
);
ok
(
count
==
0
,
"Expected count to be 0, it was %d
\n
"
,
count
);
ok
(
count
==
0
,
"Expected count to be 0, it was %d
\n
"
,
count
);
ok
(
dest
[
0
]
==
'\0'
,
"Expected destination to be cut-off and 0 terminated
\n
"
);
ok
(
dest
[
0
]
==
'\0'
,
"Expected destination to be cut-off and 0 terminated
\n
"
);
count
=
0
;
destsize
=
15
;
destsize
=
15
;
count
=
pStr_GetPtrA
(
source
,
dest
,
destsize
);
count
=
pStr_GetPtrA
(
source
,
dest
,
destsize
);
ok
(
count
==
15
||
ok
(
count
==
15
||
...
...
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