Skip to content

Commit 03cc35f

Browse files
committed
segfault fix for case file cli of domain average runs
1 parent 0f68a69 commit 03cc35f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/ninja/casefile.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ std::string CaseFile::parse(const std::string& type, const std::string& path) {
7171
if (strcmp(type.c_str(), "file") == 0) {
7272
return path.substr(found + 1); // Extract substring after the last '/'
7373
}
74+
} else
75+
{
76+
//std::cout << "couldn't parse" << std::endl;
77+
//return "";
78+
return path;
7479
}
7580
}
7681

0 commit comments

Comments
 (0)