From: Tobias Klausmann Date: Thu, 12 Feb 2015 17:31:41 +0000 (+0100) Subject: st/nine: Mark end of non-void function unreachable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98ae01c82294882b1fddcd03adf24101b4f24d4f;p=mesa.git st/nine: Mark end of non-void function unreachable Signed-off-by: Tobias Klausmann Reviewed-by: Eric Anholt --- diff --git a/src/gallium/state_trackers/nine/nine_pipe.h b/src/gallium/state_trackers/nine/nine_pipe.h index 17844d5556b..b8e728eace9 100644 --- a/src/gallium/state_trackers/nine/nine_pipe.h +++ b/src/gallium/state_trackers/nine/nine_pipe.h @@ -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"); } }