winmm: Return error on NULL ioProc (Coverity).

This commit is contained in:
Marcus Meissner 2009-10-17 17:29:48 +02:00 committed by Alexandre Julliard
parent 61393fa021
commit 6999921a6d
1 changed files with 2 additions and 2 deletions

View File

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