mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:48:20 +00:00
wininet: Remove redundant "not NULL/0" checks (coccicheck).
This commit is contained in:
parent
629a0b8057
commit
2c07791c5b
|
@ -4259,11 +4259,8 @@ DWORD HTTP_Connect(appinfo_t *hIC, LPCWSTR lpszServerName,
|
|||
if(hIC->lpszProxyBypass)
|
||||
FIXME("Proxy bypass is ignored.\n");
|
||||
}
|
||||
if (lpszServerName && lpszServerName[0])
|
||||
{
|
||||
lpwhs->lpszServerName = heap_strdupW(lpszServerName);
|
||||
lpwhs->lpszHostName = heap_strdupW(lpszServerName);
|
||||
}
|
||||
lpwhs->lpszServerName = heap_strdupW(lpszServerName);
|
||||
lpwhs->lpszHostName = heap_strdupW(lpszServerName);
|
||||
if (lpszUserName && lpszUserName[0])
|
||||
lpwhs->lpszUserName = heap_strdupW(lpszUserName);
|
||||
if (lpszPassword && lpszPassword[0])
|
||||
|
|
Loading…
Reference in a new issue