mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 07:40:38 +02:00
i965: Use unreachable() to silence a compiler warning.
Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
3a5223c24c
commit
8bc126cd37
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue