]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/dynamics.cxx
Some additional changes to ensure that FlightGear at least compiles after configuring...
[flightgear.git] / src / Airports / dynamics.cxx
index 8fd14162b8627bc0d4d313ba8862c8aef14f8c11..3e658a1473aa5effe73f158c7fe181d1e2c797b0 100644 (file)
@@ -536,9 +536,9 @@ const string& FGAirportDynamics::getId() const {
 // so that at least I can start working on assigning different frequencies to different
 // operations.
 
-int FGAirportDynamics::getGroundFrequency(int leg) { 
+int FGAirportDynamics::getGroundFrequency(unsigned leg) { 
      //return freqGround.size() ? freqGround[0] : 0; };
-     int groundFreq;
+     int groundFreq = 0;
      if (leg < 2) {
          SG_LOG(SG_ATC, SG_ALERT, "Leg value is smaller than two at " << SG_ORIGIN);
      }