Navigation Menu

Skip to content

Commit

Permalink
libdoomsday: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent dbba009 commit fd4be70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doomsday/libs/doomsday/src/filesys/fs_main.cpp
Expand Up @@ -257,7 +257,7 @@ DE_PIMPL(FS1)
String findPath(res::Uri const &search)
{
// Within a subspace scheme?
try
if (self().knownScheme(search.scheme()))
{
Scheme &scheme = self().scheme(search.scheme());
LOG_RES_XVERBOSE("Using scheme '%s'...", scheme.name());
Expand Down Expand Up @@ -287,8 +287,6 @@ DE_PIMPL(FS1)
/// @todo Should return not-found here but some searches are still dependent
/// on falling back to a wider search. -ds
}
catch (UnknownSchemeError const &)
{} // Ignore this error.

// Try a wider search of the whole virtual file system.
std::unique_ptr<File1> file(openFile(search.path(), "rb", 0, true /* allow duplicates */));
Expand Down

0 comments on commit fd4be70

Please sign in to comment.