From: Chia-I Wu Date: Fri, 1 Jul 2011 09:12:16 +0000 (+0900) Subject: egl: fix a compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c250363022ea2d4d8de1a1660431f35d8b92aca4;p=mesa.git egl: fix a compiler warning --- diff --git a/src/egl/main/eglconfig.c b/src/egl/main/eglconfig.c index 55ce6fd2e09..556cc8ed01c 100644 --- a/src/egl/main/eglconfig.c +++ b/src/egl/main/eglconfig.c @@ -305,6 +305,7 @@ _eglValidateConfig(const _EGLConfig *conf, EGLBoolean for_matching) break; default: assert(0); + mask = 0; break; } if (val & ~mask)