Commit 6999921a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winmm: Return error on NULL ioProc (Coverity).

parent 61393fa0
......@@ -345,8 +345,8 @@ static LRESULT send_message(struct IOProcList* ioProc, LPMMIOINFO mmioinfo,
LPARAM lp1 = lParam1, lp2 = lParam2;
if (!ioProc) {
ERR("brrr\n");
result = MMSYSERR_INVALPARAM;
ERR("ioProc NULL\n");
return MMSYSERR_INVALPARAM;
}
if (ioProc->is_unicode != is_unicode) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment