Maarten Lankhorst : winealsa.drv: Remove dlopen call.

Alexandre Julliard julliard at winehq.org
Mon May 3 11:54:13 CDT 2010


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

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Wed Apr 21 22:56:28 2010 +0200

winealsa.drv: Remove dlopen call.

---

 dlls/winealsa.drv/waveinit.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/dlls/winealsa.drv/waveinit.c b/dlls/winealsa.drv/waveinit.c
index f6c406f..f2eaece 100644
--- a/dlls/winealsa.drv/waveinit.c
+++ b/dlls/winealsa.drv/waveinit.c
@@ -972,12 +972,6 @@ LONG ALSA_WaveInit(void)
     HKEY  key = 0;
     int   i;
 
-    if (!wine_dlopen("libasound.so.2", RTLD_LAZY|RTLD_GLOBAL, NULL, 0))
-    {
-        ERR("Error: ALSA lib needs to be loaded with flags RTLD_LAZY and RTLD_GLOBAL.\n");
-        return -1;
-    }
-
     /* @@ Wine registry key: HKCU\Software\Wine\Alsa Driver */
     rc = RegOpenKeyExA(HKEY_CURRENT_USER, "Software\\Wine\\Alsa Driver", 0, KEY_QUERY_VALUE, &key);
     if (rc == ERROR_SUCCESS)




More information about the wine-cvs mailing list