From 8d178b185db535205b8d7e1629dedec7036bd653 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 14 Apr 2014 09:43:55 +0400 Subject: [PATCH] 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 40f1702b646..17b1a04b994 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");