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
5f3ff658
Commit
5f3ff658
authored
Feb 04, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorerframe/tests: Don't assign values to variables that are never checked (LLVM/Clang).
parent
0a649054
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
nstc.c
dlls/explorerframe/tests/nstc.c
+21
-21
No files found.
dlls/explorerframe/tests/nstc.c
View file @
5f3ff658
...
...
@@ -1084,8 +1084,8 @@ static void test_basics(void)
if
(
0
)
{
/* Crashes under Windows 7 */
hr
=
INameSpaceTreeControl_AppendRoot
(
pnstc
,
NULL
,
SHCONTF_FOLDERS
,
0
,
NULL
);
hr
=
INameSpaceTreeControl_InsertRoot
(
pnstc
,
0
,
NULL
,
SHCONTF_FOLDERS
,
0
,
NULL
);
INameSpaceTreeControl_AppendRoot
(
pnstc
,
NULL
,
SHCONTF_FOLDERS
,
0
,
NULL
);
INameSpaceTreeControl_InsertRoot
(
pnstc
,
0
,
NULL
,
SHCONTF_FOLDERS
,
0
,
NULL
);
}
/* Note the usage of psidesktop and psidesktop2 */
...
...
@@ -1132,7 +1132,7 @@ static void test_basics(void)
if
(
0
)
{
/* Crashes on native. */
hr
=
INameSpaceTreeControl_GetRootItems
(
pnstc
,
NULL
);
INameSpaceTreeControl_GetRootItems
(
pnstc
,
NULL
);
}
hr
=
INameSpaceTreeControl_GetRootItems
(
pnstc
,
&
psia
);
...
...
@@ -1360,7 +1360,7 @@ static void test_basics(void)
if
(
0
)
{
/* Crashes under Windows 7 */
hr
=
INameSpaceTreeControl_GetSelectedItems
(
pnstc
,
NULL
);
INameSpaceTreeControl_GetSelectedItems
(
pnstc
,
NULL
);
}
psia
=
(
void
*
)
0xdeadbeef
;
...
...
@@ -1550,9 +1550,9 @@ static void test_basics(void)
if
(
0
)
{
/* Crashes under win 7 */
hr
=
INameSpaceTreeControl_GetItemRect
(
pnstc
,
NULL
,
NULL
);
hr
=
INameSpaceTreeControl_GetItemRect
(
pnstc
,
psitestdir
,
NULL
);
hr
=
INameSpaceTreeControl_GetItemRect
(
pnstc
,
NULL
,
&
rc
);
INameSpaceTreeControl_GetItemRect
(
pnstc
,
NULL
,
NULL
);
INameSpaceTreeControl_GetItemRect
(
pnstc
,
psitestdir
,
NULL
);
INameSpaceTreeControl_GetItemRect
(
pnstc
,
NULL
,
&
rc
);
}
hr
=
INameSpaceTreeControl_GetItemRect
(
pnstc
,
psitestdir
,
&
rc
);
...
...
@@ -1690,10 +1690,10 @@ static void test_basics(void)
if
(
0
)
{
/* Crashes under Windows 7 */
hr
=
INameSpaceTreeControl_GetItemCustomState
(
pnstc
,
NULL
,
NULL
);
hr
=
INameSpaceTreeControl_GetItemCustomState
(
pnstc
,
NULL
,
&
cbstate
);
hr
=
INameSpaceTreeControl_GetItemCustomState
(
pnstc
,
psitestdir
,
NULL
);
hr
=
INameSpaceTreeControl_SetItemCustomState
(
pnstc
,
NULL
,
0
);
INameSpaceTreeControl_GetItemCustomState
(
pnstc
,
NULL
,
NULL
);
INameSpaceTreeControl_GetItemCustomState
(
pnstc
,
NULL
,
&
cbstate
);
INameSpaceTreeControl_GetItemCustomState
(
pnstc
,
psitestdir
,
NULL
);
INameSpaceTreeControl_SetItemCustomState
(
pnstc
,
NULL
,
0
);
}
hr
=
INameSpaceTreeControl_AppendRoot
(
pnstc
,
psitestdir
,
...
...
@@ -1807,9 +1807,9 @@ static void test_events(void)
if
(
0
)
{
/* Crashes native */
hr
=
INameSpaceTreeControl_TreeAdvise
(
pnstc
,
NULL
,
NULL
);
hr
=
INameSpaceTreeControl_TreeAdvise
(
pnstc
,
NULL
,
&
cookie1
);
hr
=
INameSpaceTreeControl_TreeAdvise
(
pnstc
,
(
IUnknown
*
)
pnstce
,
NULL
);
INameSpaceTreeControl_TreeAdvise
(
pnstc
,
NULL
,
NULL
);
INameSpaceTreeControl_TreeAdvise
(
pnstc
,
NULL
,
&
cookie1
);
INameSpaceTreeControl_TreeAdvise
(
pnstc
,
(
IUnknown
*
)
pnstce
,
NULL
);
}
/* TreeAdvise in NameSpaceTreeController seems to support only one
...
...
@@ -2044,12 +2044,12 @@ static void test_events(void)
if
(
0
)
{
/* Crashes on Windows 7 */
hr
=
INameSpaceTreeControl_SetItemState
(
pnstc
,
NULL
,
0
,
0
);
hr
=
INameSpaceTreeControl_GetItemState
(
pnstc
,
NULL
,
0
,
NULL
);
hr
=
INameSpaceTreeControl_GetItemState
(
pnstc
,
psidesktop
,
0
,
NULL
);
hr
=
INameSpaceTreeControl_GetItemState
(
pnstc
,
NULL
,
0
,
&
itemstate
);
hr
=
INameSpaceTreeControl_GetItemState
(
pnstc
,
psidesktop
,
0
,
NULL
);
hr
=
INameSpaceTreeControl_GetItemState
(
pnstc
,
NULL
,
0
,
&
itemstate
);
INameSpaceTreeControl_SetItemState
(
pnstc
,
NULL
,
0
,
0
);
INameSpaceTreeControl_GetItemState
(
pnstc
,
NULL
,
0
,
NULL
);
INameSpaceTreeControl_GetItemState
(
pnstc
,
psidesktop
,
0
,
NULL
);
INameSpaceTreeControl_GetItemState
(
pnstc
,
NULL
,
0
,
&
itemstate
);
INameSpaceTreeControl_GetItemState
(
pnstc
,
psidesktop
,
0
,
NULL
);
INameSpaceTreeControl_GetItemState
(
pnstc
,
NULL
,
0
,
&
itemstate
);
}
itemstate
=
0xDEADBEEF
;
...
...
@@ -2302,7 +2302,7 @@ static void test_events(void)
if
(
0
)
{
/* Crashes on Windows 7 */
hr
=
INameSpaceTreeControl_EnsureItemVisible
(
pnstc
,
NULL
);
INameSpaceTreeControl_EnsureItemVisible
(
pnstc
,
NULL
);
}
hr
=
INameSpaceTreeControl_EnsureItemVisible
(
pnstc
,
psidesktop
);
...
...
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