msacm32.drv: Don't access uninitialized memory.
This commit is contained in:
parent
f86d10ffb6
commit
0377c0d3e8
|
@ -673,7 +673,7 @@ static void CALLBACK widCallback(HWAVEIN hWave, UINT uMsg, DWORD_PTR dwInstance,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hWave != wim->u.in.hInnerWave && uMsg != WIM_OPEN)
|
if (uMsg != WIM_OPEN && hWave != wim->u.in.hInnerWave)
|
||||||
ERR("Shouldn't happen (%p %p)\n", hWave, wim->u.in.hInnerWave);
|
ERR("Shouldn't happen (%p %p)\n", hWave, wim->u.in.hInnerWave);
|
||||||
|
|
||||||
switch (uMsg) {
|
switch (uMsg) {
|
||||||
|
|
Loading…
Reference in New Issue