Mesa (master): st/nine: Mark end of non-void function unreachable
Eric Anholt
anholt at kemper.freedesktop.org
Tue Feb 24 12:21:35 UTC 2015
Module: Mesa
Branch: master
Commit: 98ae01c82294882b1fddcd03adf24101b4f24d4f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=98ae01c82294882b1fddcd03adf24101b4f24d4f
Author: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
Date: Thu Feb 12 18:31:41 2015 +0100
st/nine: Mark end of non-void function unreachable
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
src/gallium/state_trackers/nine/nine_pipe.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/nine_pipe.h b/src/gallium/state_trackers/nine/nine_pipe.h
index 17844d5..b8e728e 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");
}
}
More information about the mesa-commit
mailing list