Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-12-31 10:15:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-12-31 10:15:45 +0300
commit7a702ba1d53587a324e45b4138ef27f0afcabd68 (patch)
tree6507c62c87b2d9e69a141a380eff6e941212d092 /source/blender/blenlib/intern/BLI_kdopbvh.c
parentac8105a72d5a385baac75f891dc11ac0b4c6b53e (diff)
Cleanup: warning
Diffstat (limited to 'source/blender/blenlib/intern/BLI_kdopbvh.c')
-rw-r--r--source/blender/blenlib/intern/BLI_kdopbvh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_kdopbvh.c b/source/blender/blenlib/intern/BLI_kdopbvh.c
index 10e29e09827..3752751085f 100644
--- a/source/blender/blenlib/intern/BLI_kdopbvh.c
+++ b/source/blender/blenlib/intern/BLI_kdopbvh.c
@@ -860,14 +860,13 @@ static void non_recursive_bvh_div_nodes(BVHTree *tree, BVHNode *branches_array,
BVHDivNodesData cb_data = {
.tree = tree, .branches_array = branches_array, .leafs_array = leafs_array,
.tree_type = tree_type, .tree_offset = tree_offset, .data = &data,
- .first_of_next_level = 0, .depth = 0, .i = 0,
+ .first_of_next_level = 0, .depth = 0, .i = 0,
};
/* Loop tree levels (log N) loops */
for (i = 1, depth = 1; i <= num_branches; i = i * tree_type + tree_offset, depth++) {
const int first_of_next_level = i * tree_type + tree_offset;
const int end_j = min_ii(first_of_next_level, num_branches + 1); /* index of last branch on this level */
- int j;
/* Loop all branches on this level */
cb_data.first_of_next_level = first_of_next_level;