aboutsummaryrefslogtreecommitdiff
path: root/common/span.h
diff options
context:
space:
mode:
authorD G Turner2019-12-01 00:32:48 +0000
committerD G Turner2019-12-01 00:32:48 +0000
commit76bf6da5fa392219670f5f8eb9008698119c5db3 (patch)
tree1e4b9743ac4f88c013e49acfbb31dcdf53c5b6c2 /common/span.h
parent719decda5545af100defe6faadaa919004d3c8af (diff)
downloadscummvm-rg350-76bf6da5fa392219670f5f8eb9008698119c5db3.tar.gz
scummvm-rg350-76bf6da5fa392219670f5f8eb9008698119c5db3.tar.bz2
scummvm-rg350-76bf6da5fa392219670f5f8eb9008698119c5db3.zip
COMMON: Fix Missing Default Switch Case in Span Header
This is flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'common/span.h')
-rw-r--r--common/span.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/span.h b/common/span.h
index 31cb7487a7..d48274039b 100644
--- a/common/span.h
+++ b/common/span.h
@@ -599,6 +599,8 @@ public:
case kValidateSeek:
modeName = "seeking";
break;
+ default:
+ break;
}
return String::format("Access violation %s %s: %u + %d > %u",