Author: dgorbachev
Date: Tue Mar 10 15:41:23 2009
New Revision: 39933
URL:
http://svn.reactos.org/svn/reactos?rev=39933&view=rev
Log:
Silence compiler warning.
Modified:
trunk/reactos/lib/drivers/sound/mmebuddy/deviceinstance.c
Modified: trunk/reactos/lib/drivers/sound/mmebuddy/deviceinstance.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmebuddy…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmebuddy/deviceinstance.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmebuddy/deviceinstance.c [iso-8859-1] Tue Mar 10
15:41:23 2009
@@ -114,6 +114,8 @@
Result = GetSoundDeviceFromInstance(SoundDeviceInstance, &SoundDevice);
SND_ASSERT( MMSUCCESS(Result) );
+ if ( ! MMSUCCESS(Result) )
+ return TranslateInternalMmResult(Result);
PreviousInstance = NULL;
CurrentInstance = SoundDevice->HeadInstance;