[Scummvm-git-logs] scummvm master -> 6fbdf8a9992aa924cfc366e09d63df9912dcbd79
digitall
547637+digitall at users.noreply.github.com
Thu Mar 18 19:43:26 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
6fbdf8a999 PETKA: Fix GCC Compiler Warning by removing introduced fallthrough
Commit: 6fbdf8a9992aa924cfc366e09d63df9912dcbd79
https://github.com/scummvm/scummvm/commit/6fbdf8a9992aa924cfc366e09d63df9912dcbd79
Author: D G Turner (digitall at scummvm.org)
Date: 2021-03-18T19:40:38Z
Commit Message:
PETKA: Fix GCC Compiler Warning by removing introduced fallthrough
This looks like a fallthrough bug introduced by the addition of the
support for the second Comrades game, so this warning is fixed by
removing the fallthrough.
Changed paths:
engines/petka/objects/object_bg.cpp
diff --git a/engines/petka/objects/object_bg.cpp b/engines/petka/objects/object_bg.cpp
index f3b91a4046..9d77524c00 100644
--- a/engines/petka/objects/object_bg.cpp
+++ b/engines/petka/objects/object_bg.cpp
@@ -69,8 +69,8 @@ void QObjectBG::processMessage(const QMessage &msg) {
petka->setPos(Common::Point(petka->_x_, petka->_y_), false);
chapay->setPos(Common::Point(chapay->_x_, chapay->_y_), false);
- break;
}
+ break;
}
case kMusic:
_musicId = msg.arg1;
More information about the Scummvm-git-logs
mailing list