1
0
Fork 0

#590: agradar copying an uninitialized string

Thanks to Olaf Flebbe.
This commit is contained in:
ThorstenB 2012-01-09 23:41:07 +01:00
parent 0eda5eee81
commit 6b348dc481

View file

@ -259,8 +259,7 @@ agRadar::update_terrain()
double tilt = -2.5; double tilt = -2.5;
bool roll_stab = _rollStabNode->getBoolValue(); bool roll_stab = _rollStabNode->getBoolValue();
bool pitch_stab = _pitchStabNode->getBoolValue(); bool pitch_stab = _pitchStabNode->getBoolValue();
//string status = ""; const char* status = "";
const char* status;
bool hdg_mkr = true; bool hdg_mkr = true;
if (mode == 5){ if (mode == 5){