i965: Use unreachable() to silence a compiler warning.
authorMatt Turner <mattst88@gmail.com>
Tue, 5 Nov 2013 00:26:29 +0000 (16:26 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 6 Nov 2013 19:26:18 +0000 (11:26 -0800)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_reg.h

index e9cf892f2ee5cf1c6057acee8348d53be29b327b..548d6779a2b0593da40a7dcea36cbeff84e34774 100644 (file)
@@ -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