Avoid a warning.
This commit is contained in:
parent
fdd4bd6864
commit
6767777246
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue