Module: Mesa Branch: master Commit: 41bdad59ab1769baab94b669ab4ad51a6000713d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=41bdad59ab1769baab94b669ab4ad51a6000713d
Author: Matt Turner <[email protected]> Date: Sun Aug 10 21:32:24 2014 -0700 i965: Mark branch unreachable in sampler state code. Silences some uninitialized variable warnings. Reviewed-by: Kenneth Graunke <[email protected]> --- src/mesa/drivers/dri/i965/brw_sampler_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_sampler_state.c b/src/mesa/drivers/dri/i965/brw_sampler_state.c index d03047b..544aa57 100644 --- a/src/mesa/drivers/dri/i965/brw_sampler_state.c +++ b/src/mesa/drivers/dri/i965/brw_sampler_state.c @@ -352,7 +352,7 @@ brw_update_sampler_state(struct brw_context *brw, mip_filter = BRW_MIPFILTER_LINEAR; break; default: - break; + unreachable("not reached"); } /* Select mag filter. */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
