aboutsummaryrefslogtreecommitdiff
path: root/graphics/fontman.cpp
diff options
context:
space:
mode:
authorD G Turner2019-11-17 10:11:25 +0000
committerD G Turner2019-11-17 10:11:25 +0000
commitbe56e9afed697dd580c7348e8a9467281bac3517 (patch)
tree21838ac55e5b55c495d12c03d6d0b13cc6975321 /graphics/fontman.cpp
parentb46f07b823fbde7b7e0aadf1bbf583fb07377332 (diff)
downloadscummvm-rg350-be56e9afed697dd580c7348e8a9467281bac3517.tar.gz
scummvm-rg350-be56e9afed697dd580c7348e8a9467281bac3517.tar.bz2
scummvm-rg350-be56e9afed697dd580c7348e8a9467281bac3517.zip
GRAPHICS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'graphics/fontman.cpp')
-rw-r--r--graphics/fontman.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/fontman.cpp b/graphics/fontman.cpp
index 5cf52416cf..98a7e8320c 100644
--- a/graphics/fontman.cpp
+++ b/graphics/fontman.cpp
@@ -187,6 +187,9 @@ const Font *FontManager::getFontByUsage(FontUsage usage) const {
return g_sysfont_big;
else
return _fontMap[_localizedFontName];
+ break;
+ default:
+ break;
}
return 0;