From a76eee94f06948b7d1978bd83c38883f448f7ad5 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 14 Apr 2000 14:07:13 +0000 Subject: [PATCH] Do not dereference a ptr we just checked being NULL. --- misc/comm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/comm.c b/misc/comm.c index c5f5eb52256..75a02e25c3f 100644 --- a/misc/comm.c +++ b/misc/comm.c @@ -1387,7 +1387,6 @@ BOOL16 WINAPI EnableCommNotification16( INT16 cid, HWND16 hwnd, TRACE("(%d, %x, %d, %d)\n", cid, hwnd, cbWriteNotify, cbOutQueue); if ((ptr = GetDeviceStruct(cid)) == NULL) { FIXME("no handle for cid = %0x!.\n",cid); - ptr->commerror = IE_BADID; return -1; } ptr->wnd = hwnd; -- 2.11.4.GIT