From 6f684dc2b3f6429b5c74af6658482390b569279b Mon Sep 17 00:00:00 2001 From: "Paul \"Dettorer\" Hervot" Date: Sun, 13 Mar 2016 19:48:06 -0700 Subject: [PATCH] pica.h: IsLightingSamplerSupported: make 'false' more explicitely the default case --- src/video_core/pica.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/video_core/pica.h b/src/video_core/pica.h index 16f9e4006..cda1e133c 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -737,8 +737,10 @@ struct Regs { case LightingSampler::ReflectGreen: case LightingSampler::ReflectBlue: return (config == LightingConfig::Config4) || (config == LightingConfig::Config5) || (config == LightingConfig::Config7); + + default: + return false; } - return false; } struct {