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
1e3aba6e
Commit
1e3aba6e
authored
Apr 24, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Apr 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Remove variable res which is not really used from CompositeMonikerImpl_Reduce.
parent
2e823590
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
compositemoniker.c
dlls/ole32/compositemoniker.c
+4
-5
No files found.
dlls/ole32/compositemoniker.c
View file @
1e3aba6e
...
...
@@ -445,7 +445,6 @@ static HRESULT WINAPI
CompositeMonikerImpl_Reduce
(
IMoniker
*
iface
,
IBindCtx
*
pbc
,
DWORD
dwReduceHowFar
,
IMoniker
**
ppmkToLeft
,
IMoniker
**
ppmkReduced
)
{
HRESULT
res
;
IMoniker
*
tempMk
,
*
antiMk
,
*
mostRigthMk
,
*
leftReducedComposedMk
,
*
mostRigthReducedMk
;
IEnumMoniker
*
enumMoniker
;
...
...
@@ -462,8 +461,8 @@ CompositeMonikerImpl_Reduce(IMoniker* iface, IBindCtx* pbc, DWORD dwReduceHowFar
IEnumMoniker_Next
(
enumMoniker
,
1
,
&
mostRigthMk
,
NULL
);
IEnumMoniker_Release
(
enumMoniker
);
res
=
CreateAntiMoniker
(
&
antiMk
);
res
=
IMoniker_ComposeWith
(
iface
,
antiMk
,
0
,
&
tempMk
);
CreateAntiMoniker
(
&
antiMk
);
IMoniker_ComposeWith
(
iface
,
antiMk
,
0
,
&
tempMk
);
IMoniker_Release
(
antiMk
);
return
IMoniker_Reduce
(
mostRigthMk
,
pbc
,
dwReduceHowFar
,
&
tempMk
,
ppmkReduced
);
...
...
@@ -479,8 +478,8 @@ CompositeMonikerImpl_Reduce(IMoniker* iface, IBindCtx* pbc, DWORD dwReduceHowFar
IEnumMoniker_Next
(
enumMoniker
,
1
,
&
mostRigthMk
,
NULL
);
IEnumMoniker_Release
(
enumMoniker
);
res
=
CreateAntiMoniker
(
&
antiMk
);
res
=
IMoniker_ComposeWith
(
iface
,
antiMk
,
0
,
&
tempMk
);
CreateAntiMoniker
(
&
antiMk
);
IMoniker_ComposeWith
(
iface
,
antiMk
,
0
,
&
tempMk
);
IMoniker_Release
(
antiMk
);
/* If any of the components reduces itself, the method returns S_OK and passes back a composite */
...
...
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