mirror of
https://github.com/nasa/trick.git
synced 2025-02-20 17:22:52 +00:00
fix unreachable code MonteVarFile.cpp
This commit is contained in:
parent
28863c58a6
commit
e4dcd42b2b
@ -97,12 +97,12 @@ std::string Trick::MonteVarFile::get_next_value() {
|
||||
ss << name << " = " << token;
|
||||
else
|
||||
ss << name << " = " << "trick.attach_units(\"" << unit << "\", " << token << ")";
|
||||
|
||||
return ss.str();
|
||||
if(temp_str) {
|
||||
free(temp_str);
|
||||
temp_str = nullptr;
|
||||
}
|
||||
return ss.str();
|
||||
|
||||
}
|
||||
char string[100];
|
||||
sprintf(string, "Trick:MonteVarFile the input file \"%s\" is not open for reading", file_name.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user