Author: janderwald
Date: Wed Dec 23 11:43:17 2009
New Revision: 44723
URL: 
http://svn.reactos.org/svn/reactos?rev=44723&view=rev
Log:
[WDMAUD.DRV]
- Fix build
Modified:
    trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c
Modified: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/wdmau…
==============================================================================
--- trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wdmaud.drv/wdmaud.c [iso-8859-1] Wed Dec 23 11:43:17 2009
@@ -134,10 +134,6 @@
     {
         case DRV_LOAD :
         {
-#ifndef USE_MMIXER_LIB
-            HANDLE Handle;
-#endif
-
             SND_TRACE(L"DRV_LOAD\n");
             Result = InitEntrypointMutexes();
@@ -154,7 +150,7 @@
 #else
             if (WdmAudOpenSoundDeviceByLegacy() != MMSYSERR_NOERROR)
             {
-                SND_ERR(L"Failed to open %s\n", KERNEL_DEVICE_NAME);
+                SND_ERR(L"Failed to open \\\\.\\wdmaud\n");
                 CleanupEntrypointMutexes();
                 //UnlistAllSoundDevices();