1
0
Fork 0

FGCom: initialise some variables.

Avoid a crash on re-init where _initialized member was never set.
This commit is contained in:
James Turner 2013-10-23 09:38:04 +01:00
parent 60575c3b8c
commit 2f51052860

View file

@ -96,9 +96,11 @@ void FGCom::iaxTextEvent(struct iaxc_ev_text text)
FGCom::FGCom() : FGCom::FGCom() :
_register(true) _register(true),
_enabled(false),
_initialized(false),
_listener_active(0)
{ {
_listener_active = 0;
} }