diff options
author | Matt Turner <[email protected]> | 2014-06-14 22:50:43 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-06-17 10:18:14 -0700 |
commit | 9f4e77643328e19ef6a84fe63d0bcc56d897faa1 (patch) | |
tree | 8e47600352e37561a3e1be0a1732b02357ac170b /src/mesa/drivers/common/meta.c | |
parent | 6ac5adce634e832f9fd418d301e02cb1441337fb (diff) |
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 <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.c')
-rw-r--r-- | src/mesa/drivers/common/meta.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |