summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2013-11-04 16:26:29 -0800
committerMatt Turner <mattst88@gmail.com>2013-11-06 11:26:18 -0800
commit8bc126cd37ff65773aec113956b8e442e595e630 (patch)
treeaff4e902a52467244104b89dcc9af88aa6e811bb /src/mesa
parent3a5223c24cc30b3d8698352782ad9130ee2407ae (diff)
i965: Use unreachable() to silence a compiler warning.
Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_reg.h1
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