winealsa.drv: Don't check input parameter twice (Coccinelle).

This commit is contained in:
Paul Vriens 2010-01-12 13:47:04 +01:00 committed by Alexandre Julliard
parent 8a737bc1ba
commit 46abd44f0e
1 changed files with 0 additions and 3 deletions

View File

@ -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)
{ {