]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/init.cpp
Fix warnings from -W.
[quix0rs-blobwars.git] / src / init.cpp
index 4376c4185ceefa713f53d2d84bd868e4f4bad30b..c3b9abcae481e10edcba03de166b517d4cb1a1af 100644 (file)
@@ -209,6 +209,8 @@ void saveConfig()
 //
 int initMedalService(void *data)
 {
+       (void)data;
+
        SDL_mutexP(medalServer.lock);
        
        char connectMessage[1024];
@@ -293,7 +295,7 @@ void initSystem()
        }
 
        // Increase the size of the window if we have large desktop resolutions
-       SDL_DisplayMode displayMode = {0};
+       SDL_DisplayMode displayMode = {};
        SDL_GetDesktopDisplayMode(0, &displayMode);
        int w = graphics.screen->w;
        int h = graphics.screen->h;