1
0
Fork 0

fix warnings (order of initialization)

This commit is contained in:
torsten 2009-08-20 21:44:32 +00:00 committed by Tim Moore
parent f2b9b9f441
commit 5e9864994c
2 changed files with 9 additions and 9 deletions

View file

@ -152,15 +152,15 @@ double FGXMLAutoInput::get_value()
}
FGXMLAutoComponent::FGXMLAutoComponent( SGPropertyNode * node ) :
debug(false),
name(""),
enable_prop( NULL ),
passive_mode( fgGetNode("/autopilot/locks/passive-mode", true) ),
enable_value( NULL ),
honor_passive( false ),
enabled( false ),
_condition( NULL ),
feedback_if_disabled( false )
enable_prop( NULL ),
enable_value( NULL ),
passive_mode( fgGetNode("/autopilot/locks/passive-mode", true) ),
honor_passive( false ),
name(""),
feedback_if_disabled( false ),
debug(false),
enabled( false )
{
int i;
SGPropertyNode *prop;

View file

@ -62,9 +62,9 @@ private:
public:
FGXMLAutoInput( SGPropertyNode_ptr node = NULL, double value = 0.0, double offset = 0.0, double scale = 1.0 ) :
property(NULL),
value(0.0),
abs(false),
property(NULL),
offset(NULL),
scale(NULL),
min(NULL),