X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Finit.cpp;h=c3b9abcae481e10edcba03de166b517d4cb1a1af;hb=e7b735a148e426e8d4dc4c0e5a000ceff6575263;hp=4376c4185ceefa713f53d2d84bd868e4f4bad30b;hpb=cf6e314957288273eb0f724bc06a28b9c8a20e3d;p=quix0rs-blobwars.git diff --git a/src/init.cpp b/src/init.cpp index 4376c41..c3b9abc 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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;