strmbase: Remove an unused variable (PVS-Studio).

This commit is contained in:
Michael Stefaniuc 2015-01-12 10:59:51 +01:00 committed by Alexandre Julliard
parent c5d420b35a
commit 762eb67698
1 changed files with 1 additions and 2 deletions

View File

@ -125,7 +125,6 @@ static ULONG WINAPI IEnumPinsImpl_Release(IEnumPins * iface)
static HRESULT WINAPI IEnumPinsImpl_Next(IEnumPins * iface, ULONG cPins, IPin ** ppPins, ULONG * pcFetched)
{
IEnumPinsImpl *This = impl_from_IEnumPins(iface);
HRESULT hr = S_OK;
ULONG i = 0;
TRACE("(%p)->(%u, %p, %p)\n", iface, cPins, ppPins, pcFetched);
@ -142,7 +141,7 @@ static HRESULT WINAPI IEnumPinsImpl_Next(IEnumPins * iface, ULONG cPins, IPin **
if (This->Version != This->receive_version(This->base))
return VFW_E_ENUM_OUT_OF_SYNC;
while (i < cPins && hr == S_OK)
while (i < cPins)
{
IPin *pin;
pin = This->receive_pin(This->base, This->uIndex + i);