Skip to content

Commit

Permalink
Don't log invalid paths in CLocatorAPI::Recurse.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 12, 2014
1 parent a175012 commit 29d37ea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/xrCore/LocatorAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,10 +560,7 @@ bool CLocatorAPI::Recurse (const char* path)
_finddata_t findData;
intptr_t handle = _findfirst(scanPath, &findData);
if (handle == -1)
{
Log("! FS: Invalid path: ", path);
return false;
}
rec_files.reserve(256);
size_t oldSize = rec_files.size();
intptr_t done = handle;
Expand Down

0 comments on commit 29d37ea

Please sign in to comment.