diff options
author | D G Turner | 2019-12-23 11:56:16 +0000 |
---|---|---|
committer | D G Turner | 2019-12-23 11:56:16 +0000 |
commit | 59b639ed4d9b8c45644053641522dedabd12fa56 (patch) | |
tree | cc98618132f1de362fca07369718af68df44e70a /engines/scumm/file.cpp | |
parent | d5808d2903e2cc2a04e8545b84f1528230a9b010 (diff) | |
download | scummvm-rg350-59b639ed4d9b8c45644053641522dedabd12fa56.tar.gz scummvm-rg350-59b639ed4d9b8c45644053641522dedabd12fa56.tar.bz2 scummvm-rg350-59b639ed4d9b8c45644053641522dedabd12fa56.zip |
SCUMM: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/scumm/file.cpp')
-rw-r--r-- | engines/scumm/file.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/file.cpp b/engines/scumm/file.cpp index d4fc9bec3a..9e0dfeaff1 100644 --- a/engines/scumm/file.cpp +++ b/engines/scumm/file.cpp @@ -139,6 +139,7 @@ bool ScummFile::seek(int32 offs, int whence) { offs = _subFileStart + _subFileLen + offs; break; case SEEK_SET: + default: offs += _subFileStart; break; case SEEK_CUR: |