mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
GRIM: Silence compiler warning
This commit is contained in:
@@ -156,6 +156,7 @@ Registry::Value &Registry::value(const Common::String &key) {
|
||||
}
|
||||
|
||||
assert(0);
|
||||
return _dummy; // Silence warning
|
||||
}
|
||||
|
||||
const Registry::Value &Registry::value(const Common::String &key) const {
|
||||
@@ -194,6 +195,7 @@ const Registry::Value &Registry::value(const Common::String &key) const {
|
||||
}
|
||||
|
||||
assert(0);
|
||||
return _dummy; // Silence warning
|
||||
}
|
||||
|
||||
const Common::String &Registry::getString(const Common::String &key) const {
|
||||
|
||||
@@ -93,6 +93,7 @@ private:
|
||||
Value _joystick;
|
||||
Value _spewOnError;
|
||||
Value _transcript;
|
||||
Value _dummy;
|
||||
|
||||
bool _dirty;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user