diff options
author | Matt Turner <[email protected]> | 2013-11-04 16:26:29 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-11-06 11:26:18 -0800 |
commit | 8bc126cd37ff65773aec113956b8e442e595e630 (patch) | |
tree | aff4e902a52467244104b89dcc9af88aa6e811bb | |
parent | 3a5223c24cc30b3d8698352782ad9130ee2407ae (diff) |
i965: Use unreachable() to silence a compiler warning.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |