Bläddra i källkod

Fixed compile warnings with unused parameters

Sam Lantinga 2 år sedan
förälder
incheckning
5a2a91cb05
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      include/SDL3/SDL_main_impl.h

+ 6 - 0
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);
 }