From: Matt Turner Date: Sun, 15 Jun 2014 05:50:43 +0000 (-0700) Subject: mesa: Mark default case unreachable to silence warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f4e77643328e19ef6a84fe63d0bcc56d897faa1;p=mesa.git mesa: Mark default case unreachable to silence warning. Warned about 'coord' being undefined in the default case, which is unreachable. Reviewed-by: Tapani Pälli Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index cab0dd8e0b7..dc9cce5cf23 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -2614,6 +2614,7 @@ _mesa_meta_setup_texture_coords(GLenum faceTarget, break; default: assert(0); + unreachable(); } coord[3] = (float) (slice / 6);