ENGINES: Fix CID 1519034 warning

This commit is contained in:
Eugene Sandulenko 2023-09-19 15:36:33 +02:00
parent 7f4c0c9391
commit 1aaf997aac
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -462,7 +462,7 @@ void initGraphics3d(int width, int height) {
if (!splash && !GUI::GuiManager::instance()._launched) {
Common::Event event;
g_system->getEventManager()->pollEvent(event);
(void)g_system->getEventManager()->pollEvent(event);
splashScreen();
}
}
@ -646,7 +646,7 @@ void Engine::saveAutosaveIfEnabled() {
}
_lastAutosaveTime = _system->getMillis();
if (!saveFlag) {
// Set the next autosave interval to be in 5 minutes, rather than whatever
// full autosave interval the user has selected