You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Fix use of unitialized variables
The second in my quest to make Godot 3.x compile with -Werror on GCC7
This commit is contained in:
@@ -296,7 +296,7 @@ void Face3::get_support(const Vector3 &p_normal, const Transform &p_transform, V
|
||||
/** FIND SUPPORT VERTEX **/
|
||||
|
||||
int vert_support_idx = -1;
|
||||
real_t support_max;
|
||||
real_t support_max = 0;
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user