From: Matt Turner Date: Mon, 11 Aug 2014 04:32:24 +0000 (-0700) Subject: i965: Mark branch unreachable in sampler state code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41bdad59ab1769baab94b669ab4ad51a6000713d;p=mesa.git i965: Mark branch unreachable in sampler state code. Silences some uninitialized variable warnings. Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_sampler_state.c b/src/mesa/drivers/dri/i965/brw_sampler_state.c index d03047bb3d6..544aa57b6d1 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. */