From 8bc126cd37ff65773aec113956b8e442e595e630 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 4 Nov 2013 16:26:29 -0800 Subject: [PATCH] i965: Use unreachable() to silence a compiler warning. Reviewed-by: Brian Paul Reviewed-by: Francisco Jerez --- src/mesa/drivers/dri/i965/brw_reg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_reg.h b/src/mesa/drivers/dri/i965/brw_reg.h index e9cf892f2ee..548d6779a2b 100644 --- a/src/mesa/drivers/dri/i965/brw_reg.h +++ b/src/mesa/drivers/dri/i965/brw_reg.h @@ -299,6 +299,7 @@ brw_vecn_reg(unsigned width, unsigned file, unsigned nr, unsigned subnr) default: assert(!"Invalid register width"); } + unreachable(); } static inline struct brw_reg -- 2.30.2