From: Matt Turner Date: Tue, 5 Nov 2013 00:26:29 +0000 (-0800) Subject: i965: Use unreachable() to silence a compiler warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bc126cd37ff65773aec113956b8e442e595e630;p=mesa.git i965: Use unreachable() to silence a compiler warning. Reviewed-by: Brian Paul Reviewed-by: Francisco Jerez --- 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