fix Clang warnings

This commit is contained in:
oltolm 2023-06-28 00:10:25 +02:00
parent 86409a9c4f
commit 96b4b2904c
23 changed files with 86 additions and 55 deletions

View file

@ -110,10 +110,6 @@ static bool QtMsgAlertHandler(const char* caption, const char* text, bool yes_no
return false;
}
#ifdef _WIN32
#define main app_main
#endif
int main(int argc, char* argv[])
{
#ifdef _WIN32
@ -320,5 +316,4 @@ int WINAPI wWinMain(_In_ HINSTANCE, _In_opt_ HINSTANCE, _In_ LPWSTR, _In_ int)
return main(argc, argv.data());
}
#undef main
#endif