You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Fix unused variable warnings
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
This commit is contained in:
@@ -158,7 +158,7 @@ void TriangleMesh::create(const PoolVector<Vector3> &p_faces) {
|
||||
|
||||
max_depth = 0;
|
||||
int max_alloc = fc;
|
||||
int max = _create_bvh(bw.ptr(), bwp.ptr(), 0, fc, 1, max_depth, max_alloc);
|
||||
_create_bvh(bw.ptr(), bwp.ptr(), 0, fc, 1, max_depth, max_alloc);
|
||||
|
||||
bw = PoolVector<BVH>::Write(); //clearup
|
||||
bvh.resize(max_alloc); //resize back
|
||||
|
||||
Reference in New Issue
Block a user