Fix unused variable warnings
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
This commit is contained in:
parent
d1cb73b47a
commit
b2a38854fd
38 changed files with 100 additions and 249 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue