diff --git a/src/Prep/MergerClipper/merger.cxx b/src/Prep/MergerClipper/merger.cxx index 5b7b4fa3..0216c2f7 100644 --- a/src/Prep/MergerClipper/merger.cxx +++ b/src/Prep/MergerClipper/merger.cxx @@ -181,7 +181,7 @@ void FGMerger::merge( FGPolyList& clipped ) { void FGMerger::clip(FGPolyList& subject, FGPolyList& clip) { FGPolygon poly, result, cliped, difference; int max_a[FG_MAX_AREA_TYPES]; - int max_area; + int max_area = 0; int default_indx=(int)get_area_type("Default"); difference = clip.polys[default_indx][0];