fix warnings (order of initialization)
This commit is contained in:
parent
f2b9b9f441
commit
5e9864994c
2 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue