Commit 8d178b18 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dsound: Remove duplicated parameter check (Coverity).

parent 44818ce0
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment