llvmpipe: Silence compiler warnings.

This commit is contained in:
Vinson Lee 2009-12-28 18:05:30 -08:00
parent f0ba7d897d
commit e049ddb754
2 changed files with 7 additions and 2 deletions

View file

@ -446,7 +446,12 @@ emit_instruction(
{
unsigned chan_index;
LLVMValueRef src0, src1, src2;
LLVMValueRef tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7;
LLVMValueRef tmp0, tmp1, tmp2;
LLVMValueRef tmp3 = NULL;
LLVMValueRef tmp4 = NULL;
LLVMValueRef tmp5 = NULL;
LLVMValueRef tmp6 = NULL;
LLVMValueRef tmp7 = NULL;
LLVMValueRef res;
LLVMValueRef dst0[NUM_CHANNELS];

View file

@ -115,7 +115,7 @@ extern const struct llvmpipe_cached_tex_tile *
lp_find_cached_tex_tile(struct llvmpipe_tex_tile_cache *tc,
union tex_tile_address addr );
static INLINE const union tex_tile_address
static INLINE union tex_tile_address
tex_tile_address( unsigned x,
unsigned y,
unsigned z,