aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-24 17:52:53 +0000
committerFilippos Karapetis2009-09-24 17:52:53 +0000
commitb4f1960318e3e0460e4fa00bb74d75ffda9f4e79 (patch)
treefda717a83a3e9442d950aa23d673f267d3283631 /engines/gob
parent0ea3cde160dc5c45ff5571258b838920e11ebe2b (diff)
downloadscummvm-rg350-b4f1960318e3e0460e4fa00bb74d75ffda9f4e79.tar.gz
scummvm-rg350-b4f1960318e3e0460e4fa00bb74d75ffda9f4e79.tar.bz2
scummvm-rg350-b4f1960318e3e0460e4fa00bb74d75ffda9f4e79.zip
Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/hotspots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp
index a5be507517..ff8ffbbab8 100644
--- a/engines/gob/hotspots.cpp
+++ b/engines/gob/hotspots.cpp
@@ -263,7 +263,7 @@ uint16 Hotspots::add(const Hotspot &hotspot) {
}
error("Hotspots::add(): Hotspot array full");
- //return 0xFFFF;
+ return 0xFFFF; // for compilers that don't support NORETURN
}
void Hotspots::remove(uint16 id) {