Skip to content

Commit 9d21a12

Browse files
committed
Remove unused variable.
Signed-off-by: Andre Pradhana <[email protected]>
1 parent 6f61199 commit 9d21a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openvdb/openvdb/tools/FastSweeping.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ struct FastSweeping<SdfGridT, ExtValueT>::PruneMinMaxFltKernel {
966966

967967
// Internal nodes
968968
template<typename NodeT>
969-
void operator()(NodeT& node, size_t idx = 1) const
969+
void operator()(NodeT& node, size_t = 1) const
970970
{
971971
for (auto iter = node.beginValueAll(); iter; ++iter) {
972972
if (*iter == -std::numeric_limits<SdfValueT>::max()) {
@@ -979,7 +979,7 @@ struct FastSweeping<SdfGridT, ExtValueT>::PruneMinMaxFltKernel {
979979
}
980980

981981
// Leaf nodes
982-
void operator()(typename SdfTreeT::LeafNodeType& leaf, size_t idx = 1) const
982+
void operator()(typename SdfTreeT::LeafNodeType& leaf, size_t = 1) const
983983
{
984984
for (auto iter = leaf.beginValueOn(); iter; ++iter) {
985985
if (*iter == -std::numeric_limits<SdfValueT>::max()) {

0 commit comments

Comments
 (0)