FGCom: initialise some variables.
Avoid a crash on re-init where _initialized member was never set.
This commit is contained in:
parent
60575c3b8c
commit
2f51052860
1 changed files with 4 additions and 2 deletions
|
@ -96,9 +96,11 @@ void FGCom::iaxTextEvent(struct iaxc_ev_text text)
|
|||
|
||||
|
||||
FGCom::FGCom() :
|
||||
_register(true)
|
||||
_register(true),
|
||||
_enabled(false),
|
||||
_initialized(false),
|
||||
_listener_active(0)
|
||||
{
|
||||
_listener_active = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue