mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-08 03:03:02 +00:00
Remove dead code
This commit is contained in:
@@ -302,15 +302,12 @@ void TTFF_GPS_L1_CA_Test::print_TTFF_report(const std::vector<double> & ttff_v,
|
||||
std::ofstream ttff_report_file;
|
||||
std::string filename = "ttff_report";
|
||||
std::string filename_;
|
||||
bool time_tag_name = true;
|
||||
|
||||
time_t rawtime;
|
||||
struct tm * timeinfo;
|
||||
time ( &rawtime );
|
||||
timeinfo = localtime ( &rawtime );
|
||||
|
||||
if (time_tag_name)
|
||||
{
|
||||
std::stringstream strm0;
|
||||
const int year = timeinfo->tm_year - 100;
|
||||
strm0 << year;
|
||||
@@ -333,6 +330,7 @@ void TTFF_GPS_L1_CA_Test::print_TTFF_report(const std::vector<double> & ttff_v,
|
||||
}
|
||||
strm0 << hour;
|
||||
const int min = timeinfo->tm_min;
|
||||
|
||||
if(min < 10)
|
||||
{
|
||||
strm0 << "0";
|
||||
@@ -346,11 +344,6 @@ void TTFF_GPS_L1_CA_Test::print_TTFF_report(const std::vector<double> & ttff_v,
|
||||
strm0 << sec;
|
||||
|
||||
filename_ = filename + "_" + strm0.str() + ".txt";
|
||||
}
|
||||
else
|
||||
{
|
||||
filename_ = filename + ".txt";
|
||||
}
|
||||
|
||||
ttff_report_file.open(filename_.c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user