st/nine: Mark end of non-void function unreachable
authorTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Thu, 12 Feb 2015 17:31:41 +0000 (18:31 +0100)
committerEric Anholt <eric@anholt.net>
Tue, 24 Feb 2015 12:21:00 +0000 (12:21 +0000)
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/state_trackers/nine/nine_pipe.h

index 17844d5556b33461022e1dc09247730a9909a155..b8e728eace9d0116ef971edc6debbb85b550aaef 100644 (file)
@@ -222,7 +222,7 @@ d3d9_get_pipe_depth_format_bindings(D3DFORMAT format)
     case D3DFMT_DF24:
     case D3DFMT_INTZ:
         return PIPE_BIND_DEPTH_STENCIL | PIPE_BIND_SAMPLER_VIEW;
-    default: assert(0);
+    default: unreachable("Unexpected format");
     }
 }