Skip to content

Commit 62b95b4

Browse files
authored
Merge pull request #2046 from dreamworksanimation/ASWF-257
Remove unnecessary null pointer checks (ASWF issue #257)
2 parents 8348da2 + 135616d commit 62b95b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nanovdb/nanovdb/tools/GridBuilder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ void Grid<BuildT>::operator()(const Func& func, const CoordBBox& bbox, ValueType
19681968
NANOVDB_ASSERT(leaf == nullptr);
19691969
}
19701970
}// loop over sub-part of leafBBox
1971-
if (leaf) delete leaf;
1971+
delete leaf;
19721972
});
19731973

19741974
// Prune leaf and tile nodes

0 commit comments

Comments
 (0)