Module: wine Branch: master Commit: 8d178b185db535205b8d7e1629dedec7036bd653 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8d178b185db535205b8d7e1629...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Mon Apr 14 09:43:55 2014 +0400
dsound: Remove duplicated parameter check (Coverity).
---
dlls/dsound/capture.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/dlls/dsound/capture.c b/dlls/dsound/capture.c index 40f1702..17b1a04 100644 --- a/dlls/dsound/capture.c +++ b/dlls/dsound/capture.c @@ -1223,11 +1223,6 @@ static HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(IDirectSoundCa return DSERR_INVALIDPARAM; }
- if (pUnk != NULL) { - WARN("invalid parameter: pUnk != NULL\n"); - return DSERR_INVALIDPARAM; - } - /* FIXME: We can only have one buffer so what do we do here? */ if (This->device->capture_buffer) { WARN("invalid parameter: already has buffer\n");