mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 07:40:11 +01:00
radeonsi: fix warning: ‘ret’ may be used uninitialized
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
850619117e
commit
cb9eb1834d
1 changed files with 1 additions and 1 deletions
|
|
@ -6771,7 +6771,7 @@ static void si_build_wrapper_function(struct si_shader_context *ctx,
|
|||
initial_num_out_sgpr = num_out_sgpr;
|
||||
|
||||
/* Now chain the parts. */
|
||||
LLVMValueRef ret;
|
||||
LLVMValueRef ret = NULL;
|
||||
for (unsigned part = 0; part < num_parts; ++part) {
|
||||
LLVMValueRef in[48];
|
||||
LLVMTypeRef ret_type;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue