winealsa.drv: Don't check input parameter twice (Coccinelle).
This commit is contained in:
parent
8a737bc1ba
commit
46abd44f0e
|
@ -1069,9 +1069,6 @@ static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol)
|
||||||
|
|
||||||
wwo = &WOutDev[wDevID];
|
wwo = &WOutDev[wDevID];
|
||||||
|
|
||||||
if (lpdwVol == NULL)
|
|
||||||
return MMSYSERR_NOTENABLED;
|
|
||||||
|
|
||||||
rc = ALSA_CheckSetVolume(wwo->hctl, &left, &right, &min, &max, NULL, NULL, NULL);
|
rc = ALSA_CheckSetVolume(wwo->hctl, &left, &right, &min, &max, NULL, NULL, NULL);
|
||||||
if (rc == MMSYSERR_NOERROR)
|
if (rc == MMSYSERR_NOERROR)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue