winmm: Return error on NULL ioProc (Coverity).
This commit is contained in:
parent
61393fa021
commit
6999921a6d
|
@ -345,8 +345,8 @@ static LRESULT send_message(struct IOProcList* ioProc, LPMMIOINFO mmioinfo,
|
||||||
LPARAM lp1 = lParam1, lp2 = lParam2;
|
LPARAM lp1 = lParam1, lp2 = lParam2;
|
||||||
|
|
||||||
if (!ioProc) {
|
if (!ioProc) {
|
||||||
ERR("brrr\n");
|
ERR("ioProc NULL\n");
|
||||||
result = MMSYSERR_INVALPARAM;
|
return MMSYSERR_INVALPARAM;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ioProc->is_unicode != is_unicode) {
|
if (ioProc->is_unicode != is_unicode) {
|
||||||
|
|
Loading…
Reference in New Issue