mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
glsl: Suppress warning from matching_signature change.
gcc isn't smart enough to see that we only look at matched_score after we've initialized it (because match != NULL happens at the same time)
This commit is contained in:
parent
abbbd14dd4
commit
b043409adf
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ ir_function_signature *
|
|||
ir_function::matching_signature(const exec_list *actual_parameters)
|
||||
{
|
||||
ir_function_signature *match = NULL;
|
||||
int matched_score;
|
||||
int matched_score = 0;
|
||||
|
||||
foreach_iter(exec_list_iterator, iter, signatures) {
|
||||
ir_function_signature *const sig =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue