From 55f3ba9dc0df257e3488968b15545418b08148b4 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Tue, 8 Apr 2008 12:24:33 -0700 Subject: [PATCH] quartz: Remove while { } while construct. Thanks to Andrew Talbot for spotting this. --- dlls/quartz/control.c | 2 +- dlls/quartz/pin.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/quartz/control.c b/dlls/quartz/control.c index af6de28aae8..f6851bb9321 100644 --- a/dlls/quartz/control.c +++ b/dlls/quartz/control.c @@ -85,7 +85,7 @@ static HRESULT ForwardCmdSeek( PCRITICAL_SECTION crit_sect, IBaseFilter* from, S } IPin_Release( pin ); } - } while (hr == S_OK); + } if (foundend && allnotimpl) hr = E_NOTIMPL; else diff --git a/dlls/quartz/pin.c b/dlls/quartz/pin.c index 7d54a5158bf..96c4b827001 100644 --- a/dlls/quartz/pin.c +++ b/dlls/quartz/pin.c @@ -120,7 +120,8 @@ static HRESULT SendFurther( IPin *from, SendPinFunc fnMiddle, LPVOID arg, SendPi } IPin_Release( pin ); } - } while (hr == S_OK); + } + if (!foundend) hr = hr_return; else if (fnEnd) {