Commit 1bd4bcaa authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

ole32/tests: Remove unused variable.

parent 5415eb7c
...@@ -1144,13 +1144,12 @@ static IParseDisplayName ParseDisplayName = { &ParseDisplayName_Vtbl }; ...@@ -1144,13 +1144,12 @@ static IParseDisplayName ParseDisplayName = { &ParseDisplayName_Vtbl };
static int count_moniker_matches(IBindCtx * pbc, IEnumMoniker * spEM) static int count_moniker_matches(IBindCtx * pbc, IEnumMoniker * spEM)
{ {
IMoniker * spMoniker; IMoniker * spMoniker;
int monCnt=0, matchCnt=0; int matchCnt = 0;
while ((IEnumMoniker_Next(spEM, 1, &spMoniker, NULL)==S_OK)) while ((IEnumMoniker_Next(spEM, 1, &spMoniker, NULL)==S_OK))
{ {
HRESULT hr; HRESULT hr;
WCHAR * szDisplayn; WCHAR * szDisplayn;
monCnt++;
hr=IMoniker_GetDisplayName(spMoniker, pbc, NULL, &szDisplayn); hr=IMoniker_GetDisplayName(spMoniker, pbc, NULL, &szDisplayn);
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment