diff options
author | Matt Turner <[email protected]> | 2014-08-10 21:32:24 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-08-11 10:40:01 -0700 |
commit | 41bdad59ab1769baab94b669ab4ad51a6000713d (patch) | |
tree | 115fed21f2c35fead8e072612f9cc40a5096f58a /src/mesa | |
parent | 904ed3b3153a73b601085ed22d2ba3693812b1cf (diff) |
i965: Mark branch unreachable in sampler state code.
Silences some uninitialized variable warnings.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sampler_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |