Skip to content

Commit b7dcf6a

Browse files
committed
Event Display: remove return statements from handled filesystem exceptions
1 parent ea23c37 commit b7dcf6a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

EventVisualisation/Base/src/DirectoryLoader.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ deque<string> DirectoryLoader::load(const std::string& path, const std::string&
3737
}
3838
} catch (std::filesystem::filesystem_error const& ex) {
3939
LOGF(error, "filesystem problem during DirectoryLoader::load: %s", ex.what());
40-
return result;
4140
}
4241
// comparison with safety if marker not in the filename (-1+1 gives 0)
4342
std::sort(result.begin(), result.end(),
@@ -62,7 +61,6 @@ bool DirectoryLoader::canCreateNextFile(const std::vector<std::string>& paths, c
6261
}
6362
} catch (std::filesystem::filesystem_error const& ex) {
6463
LOGF(error, "filesystem problem during DirectoryLoader::canCreateNextFile: %s", ex.what());
65-
return false;
6664
}
6765
}
6866

@@ -103,7 +101,6 @@ deque<string> DirectoryLoader::load(const std::vector<std::string>& paths, const
103101
}
104102
} catch (std::filesystem::filesystem_error const& ex) {
105103
LOGF(error, "filesystem problem during DirectoryLoader::load: %s", ex.what());
106-
return result;
107104
}
108105
// comparison with safety if marker not in the filename (-1+1 gives 0)
109106
std::sort(result.begin(), result.end(),

0 commit comments

Comments
 (0)