aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/project_item.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-23 11:12:12 +0200
committerBastien Bouclet2017-07-23 11:12:12 +0200
commitbc952807ecc73cf827a779adf1704bffe8a1db2f (patch)
tree857ff0290f7f176492edbac2001d2acd84498603 /engines/titanic/core/project_item.cpp
parent96a1b7070088ce2a9fdcb85f124fd0a2d7ef8d60 (diff)
downloadscummvm-rg350-bc952807ecc73cf827a779adf1704bffe8a1db2f.tar.gz
scummvm-rg350-bc952807ecc73cf827a779adf1704bffe8a1db2f.tar.bz2
scummvm-rg350-bc952807ecc73cf827a779adf1704bffe8a1db2f.zip
TITANIC: Adjust the switch/case fall-through comments
This way, GCC 7 does not generate a warning for those cases when -Wimplicit-fallthrough=3 is enabled, which is now the default.
Diffstat (limited to 'engines/titanic/core/project_item.cpp')
-rw-r--r--engines/titanic/core/project_item.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/core/project_item.cpp b/engines/titanic/core/project_item.cpp
index 5a530a82b8..a3ac284af8 100644
--- a/engines/titanic/core/project_item.cpp
+++ b/engines/titanic/core/project_item.cpp
@@ -102,7 +102,7 @@ void CProjectItem::load(SimpleFile *file) {
case 1:
file->readBuffer();
_nextRoomNumber = file->readNumber();
- // Deliberate fall-through
+ // Intentional fall-through
case 0:
// Load the list of files
@@ -116,16 +116,16 @@ void CProjectItem::load(SimpleFile *file) {
case 6:
file->readBuffer();
_nextObjectNumber = file->readNumber();
- // Deliberate fall-through
+ // Intentional fall-through
case 5:
file->readBuffer();
_nextMessageNumber = file->readNumber();
- // Deliberate fall-through
+ // Intentional fall-through
case 4:
file->readBuffer();
- // Deliberate fall-through
+ // Intentional fall-through
case 2:
case 3: