[Mesa-dev] [PATCH 2/2] i965/test: Use unreachable() to silence warning.

Matt Turner mattst88 at gmail.com
Mon Nov 18 15:21:25 PST 2013


---
 src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp b/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp
index c5a3cfc..83d931c 100644
--- a/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp
+++ b/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp
@@ -88,6 +88,7 @@ protected:
    virtual vec4_instruction *emit_urb_write_opcode(bool complete)
    {
       assert(!"Not reached");
+      unreachable();
    }
 };
 
-- 
1.8.3.2



More information about the mesa-dev mailing list