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:
parent
bc93523f69
commit
9a129cb059
|
@ -89,7 +89,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||||
}
|
}
|
||||||
else if (retval < BUFSIZE)
|
else if (retval < BUFSIZE)
|
||||||
{
|
{
|
||||||
if (lppPart != NULL && *lppPart != 0)
|
if (*lppPart != NULL)
|
||||||
{
|
{
|
||||||
lppPart[0][-1] = 0;
|
lppPart[0][-1] = 0;
|
||||||
printf("Calling SetDllDirectoryW(%%ls)\\n", buffer);
|
printf("Calling SetDllDirectoryW(%%ls)\\n", buffer);
|
||||||
|
|
Loading…
Reference in New Issue