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:
Vinson Lee 2010-09-18 00:14:20 -07:00
parent 9ea2a3af9c
commit a822ae3f1a

View file

@ -258,6 +258,7 @@ public:
}
assert(!"Should not get here.");
return false;
}
ir_variable *convert_dereference_array(ir_dereference_array *orig_deref,