From: mfranz Date: Sun, 6 May 2007 14:02:44 +0000 (+0000) Subject: initialize variables before using them X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=52a4c527a6307ae0608338ae59a4eaeedf3231e6;p=flightgear.git initialize variables before using them --- diff --git a/src/Instrumentation/tacan.cxx b/src/Instrumentation/tacan.cxx index 4bde59c9c..602aa4fad 100755 --- a/src/Instrumentation/tacan.cxx +++ b/src/Instrumentation/tacan.cxx @@ -58,6 +58,8 @@ TACAN::TACAN ( SGPropertyNode *node ) : _transmitter_pos(SGGeod::fromDeg(0, 0)), _transmitter_range_nm(0), _transmitter_bias(0.0), + _mobile_lat(0.0), + _mobile_lon(0.0), _listener_active(0) { }