From d5d7bbb41b9ad676224a4e6d7ecce4987dc5ae9f Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Tue, 8 Apr 2008 12:24:33 -0700 Subject: [PATCH] quartz: Remove a while { } while construct --- 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 af6de28..f6851bb 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 7d54a51..96c4b82 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) { -- 1.5.4.1