[Scummvm-git-logs] scummvm master -> 5c2de7a40dbbd754d5a95f3319f6eb06ed820233
digitall
547637+digitall at users.noreply.github.com
Thu Oct 3 02:03:03 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
5c2de7a40d GRAPHICS: Add Missing Switch Default Case in PixelFormat Header
Commit: 5c2de7a40dbbd754d5a95f3319f6eb06ed820233
https://github.com/scummvm/scummvm/commit/5c2de7a40dbbd754d5a95f3319f6eb06ed820233
Author: D G Turner (digitall at scummvm.org)
Date: 2019-10-03T00:59:41+01:00
Commit Message:
GRAPHICS: Add Missing Switch Default Case in PixelFormat Header
These are flagged by GCC if -Wswitch-default is enabled.
Changed paths:
graphics/pixelformat.h
diff --git a/graphics/pixelformat.h b/graphics/pixelformat.h
index af964b0..f3e7f95 100644
--- a/graphics/pixelformat.h
+++ b/graphics/pixelformat.h
@@ -274,6 +274,8 @@ struct PixelFormat {
return ColorComponent<7>::expand(color);
case 8:
return ColorComponent<8>::expand(color);
+ default:
+ break;
}
// Unsupported
More information about the Scummvm-git-logs
mailing list