[win32] Remove useless check for nullptr

pull/975/head
Hleb Valoshka 2021-05-07 18:45:53 +03:00
parent 50800f4f22
commit 668a6023e9
1 changed files with 0 additions and 14 deletions

View File

@ -3197,20 +3197,6 @@ int APIENTRY WinMain(HINSTANCE hInstance,
}
appCore = new CelestiaCore();
if (appCore == NULL)
{
if (s_splash != NULL)
{
s_splash->close();
delete s_splash;
s_splash = NULL;
}
MessageBox(NULL,
"Out of memory.", "Fatal Error",
MB_OK | MB_ICONERROR | MB_TOPMOST);
return false;
}
// Gettext integration
setlocale(LC_ALL, "");