Module: Mesa Branch: master Commit: 4abe051a3f848af074193140930dab7fdca297bc URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4abe051a3f848af074193140930dab7fdca297bc
Author: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Date: Thu Apr 21 13:23:36 2016 +0200 gallium/radeon: Silence possibly uninitialized variable warning. Signed-off-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Reviewed-by: Marek Olšák <marek.ol...@amd.com> --- src/gallium/drivers/radeon/radeon_llvm_emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c b/src/gallium/drivers/radeon/radeon_llvm_emit.c index 7174132..d3f5ae3 100644 --- a/src/gallium/drivers/radeon/radeon_llvm_emit.c +++ b/src/gallium/drivers/radeon/radeon_llvm_emit.c @@ -100,7 +100,7 @@ void radeon_llvm_shader_type(LLVMValueRef F, unsigned type) calling_conv = RADEON_LLVM_AMDGPU_CS; break; default: - assert(0); + unreachable("Unhandle shader type"); } if (HAVE_LLVM >= 0x309) _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit