diff --git a/src/Systems/pitot.cxx b/src/Systems/pitot.cxx index 3851f53fd..78d1d2bd3 100644 --- a/src/Systems/pitot.cxx +++ b/src/Systems/pitot.cxx @@ -11,8 +11,8 @@ PitotSystem::PitotSystem ( SGPropertyNode *node ) : - name("pitot"), - num(0) + num(0), + name("pitot") { int i; for ( i = 0; i < node->nChildren(); ++i ) { diff --git a/src/Traffic/SchedFlight.cxx b/src/Traffic/SchedFlight.cxx index 2672d3d26..dc44c53b6 100644 --- a/src/Traffic/SchedFlight.cxx +++ b/src/Traffic/SchedFlight.cxx @@ -151,7 +151,6 @@ time_t FGScheduledFlight::processTimeString(const string& theTime) { int weekday; int timeOffsetInDays; - int targetDate; int targetHour; int targetMinute; int targetSecond;