mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 16:30:10 +01:00
glsl: Fix 'control reaches end of non-void function' warning.
Fixes this GCC warning. lower_variable_index_to_cond_assign.cpp: In member function 'bool variable_index_to_cond_assign_visitor::needs_lowering(ir_dereference_array*) const': lower_variable_index_to_cond_assign.cpp:261: warning: control reaches end of non-void function
This commit is contained in:
parent
9ea2a3af9c
commit
a822ae3f1a
1 changed files with 1 additions and 0 deletions
|
|
@ -258,6 +258,7 @@ public:
|
|||
}
|
||||
|
||||
assert(!"Should not get here.");
|
||||
return false;
|
||||
}
|
||||
|
||||
ir_variable *convert_dereference_array(ir_dereference_array *orig_deref,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue