We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9f801 commit b52dfafCopy full SHA for b52dfaf
1 file changed
src/OMSimulatorLib/Model.cpp
@@ -1608,6 +1608,10 @@ std::string oms::Model::escapeSpecialCharacters(const std::string& regex)
1608
1609
oms_status_enu_t oms::Model::importSignalFilter(const std::string& filename, const Snapshot& snapshot)
1610
{
1611
+
1612
+ if (filename.empty())
1613
+ return oms_status_ok;
1614
1615
// check for system and do not import signalFilter if system == NULL
1616
if (!system)
1617
return oms_status_ok;
0 commit comments