mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 02:44:46 +00:00
dsound: Remove duplicated parameter check (Coverity).
This commit is contained in:
parent
44818ce0f9
commit
8d178b185d
|
@ -1223,11 +1223,6 @@ static HRESULT WINAPI IDirectSoundCaptureImpl_CreateCaptureBuffer(IDirectSoundCa
|
||||||
return DSERR_INVALIDPARAM;
|
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? */
|
/* FIXME: We can only have one buffer so what do we do here? */
|
||||||
if (This->device->capture_buffer) {
|
if (This->device->capture_buffer) {
|
||||||
WARN("invalid parameter: already has buffer\n");
|
WARN("invalid parameter: already has buffer\n");
|
||||||
|
|
Loading…
Reference in a new issue