Remove lppPart null check in Windows launcher.

warning: the comparison will always evaluate as 'true' for the address
of 'lppPart' will never be NULL [-Waddress]
This commit is contained in:
auouymous 2023-11-20 04:14:42 -07:00
parent bc93523f69
commit 9a129cb059
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
}
else if (retval < BUFSIZE)
{
if (lppPart != NULL && *lppPart != 0)
if (*lppPart != NULL)
{
lppPart[0][-1] = 0;
printf("Calling SetDllDirectoryW(%%ls)\\n", buffer);