[test][intersection] Fix uninitialized variable usage.

This commit is contained in:
Adam Wulkiewicz 2015-04-22 03:04:05 +02:00
parent ff267b8c50
commit 0851688794

View File

@ -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);