Re: [Mesa-dev] [PATCH] gallivm: Remove dead code in lp_build_compare_ext.

2013-07-22 Thread Jose Fonseca
Looks OK to me. Jose - Original Message - > There are earlier returns for PIPE_FUNC_NEVER and PIPE_FUNC_ALWAYS. The > switch value of 'func' cannot be either of those values. > > Fixes "Logically dead code" defects reported by Coverity. > > Signed-off-by: Vinson Lee > --- > src/galliu

[Mesa-dev] [PATCH] gallivm: Remove dead code in lp_build_compare_ext.

2013-07-21 Thread Vinson Lee
There are earlier returns for PIPE_FUNC_NEVER and PIPE_FUNC_ALWAYS. The switch value of 'func' cannot be either of those values. Fixes "Logically dead code" defects reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/auxiliary/gallivm/lp_bld_logic.c | 6 -- 1 file changed, 6 del