diff --git a/include/SDL3/SDL_main_impl.h b/include/SDL3/SDL_main_impl.h index 3575ea71c1..79902bfb81 100644 --- a/include/SDL3/SDL_main_impl.h +++ b/include/SDL3/SDL_main_impl.h @@ -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); }