Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 39fab5e

Browse files
committed
Fix a maybe-uninitialized warning in tri.
It's not really a problem due to the empty check, but whatever.
1 parent 39b8faf commit 39fab5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tri/_tri.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ std::ostream& operator<<(std::ostream& os, const XYZ& xyz)
155155

156156

157157
BoundingBox::BoundingBox()
158-
: empty(true)
158+
: empty(true), lower(0.0, 0.0), upper(0.0, 0.0)
159159
{}
160160

161161
void BoundingBox::add(const XY& point)

0 commit comments

Comments
 (0)