From 6b348dc48138cf924d37c9d811986e22ce92d340 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Mon, 9 Jan 2012 23:41:07 +0100 Subject: [PATCH] #590: agradar copying an uninitialized string Thanks to Olaf Flebbe. --- src/Instrumentation/agradar.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Instrumentation/agradar.cxx b/src/Instrumentation/agradar.cxx index c464ef3e0..772fd682a 100644 --- a/src/Instrumentation/agradar.cxx +++ b/src/Instrumentation/agradar.cxx @@ -259,8 +259,7 @@ agRadar::update_terrain() double tilt = -2.5; bool roll_stab = _rollStabNode->getBoolValue(); bool pitch_stab = _pitchStabNode->getBoolValue(); - //string status = ""; - const char* status; + const char* status = ""; bool hdg_mkr = true; if (mode == 5){ -- 2.39.5