message: clusterizer: Final code cleanup
diff: @@ -375,9 +375,9 @@ static void kdtreeNearest(KDNode* nodes, unsigned int root, const float* points,
  {
  const KDNode& node = nodes[root];
  - // leaf
  if (node.axis == 3)
  {
  + // leaf
  for (unsigned int i = 0; i <= node.children; ++i)
  {
  unsigned int index = nodes[root + i].index;
  @@ -399,10 +399,9 @@ static void kdtreeNearest(KDNode* nodes, unsigned int root, const float* points,
  limit = distance;
  }
  }
  -
  - return;
  }
  -
  + else
  + {
  // branch; we order recursion to process the node that search position is in first
  float delta = position[node.axis] - node.split;
  unsigned int first = (delta <= 0) ? 0 : node.children;
  @@ -414,6 +413,7 @@ static void kdtreeNearest(KDNode* nodes, unsigned int root, const float* points,
  if (fabsf(delta) <= limit)
  kdtreeNearest(nodes, root + 1 + second, points, stride, emitted_flags, position, result, limit);
  }
  +}
  } // namespace meshopt
  