1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-12-04 07:38:08 +00:00

fixing coverity issues: unitialized members

This commit is contained in:
Carles Fernandez
2015-05-13 23:26:44 +02:00
parent 87945e8473
commit cf9945899f
6 changed files with 117 additions and 9 deletions

View File

@@ -95,6 +95,7 @@ DEFINE_string(config_file, std::string(GNSSSDR_INSTALL_DIR "/share/gnss-sdr/conf
ControlThread::ControlThread()
{
configuration_ = std::make_shared<FileConfiguration>(FLAGS_config_file);
delete_configuration_ = false;
init();
}
@@ -102,6 +103,7 @@ ControlThread::ControlThread()
ControlThread::ControlThread(std::shared_ptr<ConfigurationInterface> configuration)
{
configuration_ = configuration;
delete_configuration_ = false;
init();
}
@@ -936,7 +938,7 @@ void ControlThread::keyboard_listener()
char c;
while(read_keys)
{
c = std::cin.get();
std::cin.get(c);
if (c =='q')
{
std::cout << "Quit keystroke order received, stopping GNSS-SDR !!" << std::endl;