1
0
Fork 0

Avoid a warning.

This commit is contained in:
curt 2000-11-15 20:23:54 +00:00
parent fdd4bd6864
commit 6767777246

View file

@ -181,7 +181,7 @@ void FGMerger::merge( FGPolyList& clipped ) {
void FGMerger::clip(FGPolyList& subject, FGPolyList& clip) { void FGMerger::clip(FGPolyList& subject, FGPolyList& clip) {
FGPolygon poly, result, cliped, difference; FGPolygon poly, result, cliped, difference;
int max_a[FG_MAX_AREA_TYPES]; int max_a[FG_MAX_AREA_TYPES];
int max_area; int max_area = 0;
int default_indx=(int)get_area_type("Default"); int default_indx=(int)get_area_type("Default");
difference = clip.polys[default_indx][0]; difference = clip.polys[default_indx][0];