Fixed Expression 'pComm != NULL' is always true
pComm was checked earlier in 1363 string:
`if (pComm == NULL)`
@@ -1473,10 +1473,7 @@ HANDLE CommCreateFileA(LPCSTR lpDeviceName, DWORD dwDesiredAccess,
return (HANDLE)pComm;
error_handle:
- if (pComm != NULL)
- {
CloseHandle(pComm);
- }
return INVALID_HANDLE_VALUE;
}
