mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 13:34:10 +00:00
[test][intersection] Fix uninitialized variable usage.
This commit is contained in:
parent
ff267b8c50
commit
0851688794
@ -358,6 +358,7 @@ void test_boxes(std::string const& wkt1, std::string const& wkt2, double expecte
|
||||
bg::read_wkt(wkt2, box2);
|
||||
|
||||
Box box_out;
|
||||
bg::assign_zero(box_out);
|
||||
bool detected = bg::intersection(box1, box2, box_out);
|
||||
typename bg::default_area_result<Box>::type area = bg::area(box_out);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user