summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorTobias Klausmann <[email protected]>2015-02-12 18:31:41 +0100
committerEric Anholt <[email protected]>2015-02-24 12:21:00 +0000
commit98ae01c82294882b1fddcd03adf24101b4f24d4f (patch)
tree914e7e57833e82dde6fff5c0a71e174d93d72be4 /src/gallium/state_trackers
parent984f3069370cd4a347cb38269d430b428385affd (diff)
st/nine: Mark end of non-void function unreachable
Signed-off-by: Tobias Klausmann <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/nine/nine_pipe.h2
1 files changed, 1 insertions, 1 deletions
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");
}
}