Maarten Lankhorst : quartz: Remove while { } while construct.

Alexandre Julliard julliard at winehq.org
Wed Apr 9 05:31:42 CDT 2008


Module: wine
Branch: master
Commit: 55f3ba9dc0df257e3488968b15545418b08148b4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=55f3ba9dc0df257e3488968b15545418b08148b4

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Tue Apr  8 12:24:33 2008 -0700

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 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) {




More information about the wine-cvs mailing list