Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
298ef9b9
Commit
298ef9b9
authored
May 16, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Remove useless rand() calls (cppcheck).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
32ea1f0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
header.c
dlls/comctl32/tests/header.c
+0
-3
No files found.
dlls/comctl32/tests/header.c
View file @
298ef9b9
...
...
@@ -1560,7 +1560,6 @@ static void test_header_order (void)
{
hdi
.
lParam
=
i
;
SendMessageA
(
hWndHeader
,
HDM_INSERTITEMA
,
rand1
[
i
],
(
LPARAM
)
&
hdi
);
rand
();
}
check_order
(
ids1
,
ord1
,
5
,
"insert without iOrder"
);
...
...
@@ -1570,7 +1569,6 @@ static void test_header_order (void)
hdi
.
lParam
=
i
+
5
;
hdi
.
iOrder
=
rand2
[
i
];
SendMessageA
(
hWndHeader
,
HDM_INSERTITEMA
,
rand3
[
i
],
(
LPARAM
)
&
hdi
);
rand
();
rand
();
}
check_order
(
ids2
,
ord2
,
10
,
"insert with order"
);
...
...
@@ -1579,7 +1577,6 @@ static void test_header_order (void)
{
hdi
.
iOrder
=
rand5
[
i
];
SendMessageA
(
hWndHeader
,
HDM_SETITEMA
,
rand4
[
i
],
(
LPARAM
)
&
hdi
);
rand
();
rand
();
}
check_order
(
ids2
,
ord3
,
10
,
"setitems changing order"
);
...
...
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