gcc warning fixes
This commit is contained in:
parent
ddd04d91ca
commit
a1acd92a1c
1 changed files with 5 additions and 5 deletions
|
@ -540,7 +540,7 @@ void FGJSBsim::update( double dt )
|
||||||
}
|
}
|
||||||
|
|
||||||
FGJSBBase::Message* msg;
|
FGJSBBase::Message* msg;
|
||||||
while (msg = fdmex->ProcessNextMessage()) {
|
while ((msg = fdmex->ProcessNextMessage()) != NULL) {
|
||||||
// msg = fdmex->ProcessNextMessage();
|
// msg = fdmex->ProcessNextMessage();
|
||||||
switch (msg->type) {
|
switch (msg->type) {
|
||||||
case FGJSBBase::Message::eText:
|
case FGJSBBase::Message::eText:
|
||||||
|
@ -636,7 +636,7 @@ bool FGJSBsim::copy_to_JSBsim()
|
||||||
} // end FGTurbine code block
|
} // end FGTurbine code block
|
||||||
case FGEngine::etRocket:
|
case FGEngine::etRocket:
|
||||||
{ // FGRocket code block
|
{ // FGRocket code block
|
||||||
FGRocket* eng = (FGRocket*)Propulsion->GetEngine(i);
|
// FGRocket* eng = (FGRocket*)Propulsion->GetEngine(i);
|
||||||
break;
|
break;
|
||||||
} // end FGRocket code block
|
} // end FGRocket code block
|
||||||
case FGEngine::etTurboprop:
|
case FGEngine::etTurboprop:
|
||||||
|
@ -828,7 +828,7 @@ bool FGJSBsim::copy_from_JSBsim()
|
||||||
break;
|
break;
|
||||||
case FGEngine::etRocket:
|
case FGEngine::etRocket:
|
||||||
{ // FGRocket code block
|
{ // FGRocket code block
|
||||||
FGRocket* eng = (FGRocket*)Propulsion->GetEngine(i);
|
// FGRocket* eng = (FGRocket*)Propulsion->GetEngine(i);
|
||||||
} // end FGRocket code block
|
} // end FGRocket code block
|
||||||
break;
|
break;
|
||||||
case FGEngine::etTurbine:
|
case FGEngine::etTurbine:
|
||||||
|
@ -898,7 +898,7 @@ bool FGJSBsim::copy_from_JSBsim()
|
||||||
switch (thruster->GetType()) {
|
switch (thruster->GetType()) {
|
||||||
case FGThruster::ttNozzle:
|
case FGThruster::ttNozzle:
|
||||||
{ // FGNozzle code block
|
{ // FGNozzle code block
|
||||||
FGNozzle* noz = (FGNozzle*)thruster;
|
// FGNozzle* noz = (FGNozzle*)thruster;
|
||||||
} // end FGNozzle code block
|
} // end FGNozzle code block
|
||||||
break;
|
break;
|
||||||
case FGThruster::ttPropeller:
|
case FGThruster::ttPropeller:
|
||||||
|
@ -912,7 +912,7 @@ bool FGJSBsim::copy_from_JSBsim()
|
||||||
break;
|
break;
|
||||||
case FGThruster::ttRotor:
|
case FGThruster::ttRotor:
|
||||||
{ // FGRotor code block
|
{ // FGRotor code block
|
||||||
FGRotor* rotor = (FGRotor*)thruster;
|
// FGRotor* rotor = (FGRotor*)thruster;
|
||||||
} // end FGRotor code block
|
} // end FGRotor code block
|
||||||
break;
|
break;
|
||||||
case FGThruster::ttDirect:
|
case FGThruster::ttDirect:
|
||||||
|
|
Loading…
Add table
Reference in a new issue