Module: wine Branch: master Commit: a83e8e88ea05822e21aace9e0b82060bfa1dc02f URL: http://source.winehq.org/git/wine.git/?a=commit;h=a83e8e88ea05822e21aace9e0b...
Author: Marcus Meissner marcus@jet.franken.de Date: Sun Mar 1 14:04:56 2015 +0100
dsound: If 3d sound is disabled, just return (Coverity).
---
dlls/dsound/sound3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dsound/sound3d.c b/dlls/dsound/sound3d.c index c53783e..439cfac 100644 --- a/dlls/dsound/sound3d.c +++ b/dlls/dsound/sound3d.c @@ -177,7 +177,7 @@ void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb) TRACE("3D processing disabled\n"); /* this one is here only to eliminate annoying warning message */ DSOUND_RecalcVolPan (&dsb->volpan); - break; + return; case DS3DMODE_NORMAL: TRACE("Normal 3D processing mode\n"); /* we need to calculate distance between buffer and listener*/