Jörg Höhle : mciwave: Favour return over ExitThread.

Alexandre Julliard julliard at winehq.org
Wed Nov 11 08:33:25 CST 2009


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

Author: Jörg Höhle <hoehle at users.sourceforge.net>
Date:   Tue Nov  3 00:35:17 2009 +0100

mciwave: Favour return over ExitThread.

---

 dlls/mciwave/mciwave.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/mciwave/mciwave.c b/dlls/mciwave/mciwave.c
index 266fa1b..05d16ef 100644
--- a/dlls/mciwave/mciwave.c
+++ b/dlls/mciwave/mciwave.c
@@ -85,9 +85,6 @@ static DWORD CALLBACK	MCI_SCAStarter(LPVOID arg)
     TRACE("In thread after async command (%08x,%08lx,%08lx)\n",
 	  sca->wDevID, sca->dwParam1, sca->dwParam2);
     HeapFree(GetProcessHeap(), 0, sca);
-    ExitThread(ret);
-    WARN("Should not happen ? what's wrong\n");
-    /* should not go after this point */
     return ret;
 }
 




More information about the wine-cvs mailing list