Fixed compile warnings with unused parameters

This commit is contained in:
Sam Lantinga 2023-01-06 16:24:20 -08:00
parent 13ab100317
commit 5a2a91cb05
1 changed files with 6 additions and 0 deletions

View File

@ -68,6 +68,8 @@ int wmain(int argc, wchar_t *wargv[], wchar_t *wenvp)
int main(int argc, char *argv[])
#endif
{
(void)argc;
(void)argv;
return SDL_RunApp(0, NULL, SDL_main, NULL);
}
@ -80,6 +82,10 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrev, PWSTR szCmdLine, int sw)
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)
#endif
{
(void)hInst;
(void)hPrev;
(void)szCmdLine;
(void)sw;
return SDL_RunApp(0, NULL, SDL_main, NULL);
}