Marcus Meissner : wininet: lpwhr cannot be NULL (Coverity 927).
Alexandre Julliard
julliard at winehq.org
Wed May 20 08:29:34 CDT 2009
Module: wine
Branch: master
Commit: 1d362c90a431680c3d311de728e26833377b7d2c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1d362c90a431680c3d311de728e26833377b7d2c
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Wed May 20 09:33:21 2009 +0200
wininet: lpwhr cannot be NULL (Coverity 927).
---
dlls/wininet/http.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 212ff9f..904939a 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -3832,7 +3832,7 @@ static BOOL HTTP_OpenConnection(LPWININETHTTPREQW lpwhr)
TRACE("-->\n");
- if (NULL == lpwhr || lpwhr->hdr.htype != WH_HHTTPREQ)
+ if (lpwhr->hdr.htype != WH_HHTTPREQ)
{
INTERNET_SetLastError(ERROR_INVALID_PARAMETER);
goto lend;
More information about the wine-cvs
mailing list