dsound: Remove duplicated parameter check (Coverity).

This commit is contained in:
Nikolay Sivov 2014-04-14 09:43:55 +04:00 committed by Alexandre Julliard
parent 44818ce0f9
commit 8d178b185d
1 changed files with 0 additions and 5 deletions

View File

@ -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");