ole32/tests: Remove unused variable.

This commit is contained in:
Jacek Caban 2023-11-17 13:35:19 +01:00 committed by Alexandre Julliard
parent 5415eb7c37
commit 1bd4bcaa4a

View file

@ -1144,13 +1144,12 @@ static IParseDisplayName ParseDisplayName = { &ParseDisplayName_Vtbl };
static int count_moniker_matches(IBindCtx * pbc, IEnumMoniker * spEM)
{
IMoniker * spMoniker;
int monCnt=0, matchCnt=0;
int matchCnt = 0;
while ((IEnumMoniker_Next(spEM, 1, &spMoniker, NULL)==S_OK))
{
HRESULT hr;
WCHAR * szDisplayn;
monCnt++;
hr=IMoniker_GetDisplayName(spMoniker, pbc, NULL, &szDisplayn);
if (SUCCEEDED(hr))
{