diff options
| author | Frederick Martian <fredmartian@gmail.com> | 2025-12-05 16:16:26 +0100 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-12-10 20:33:58 +0200 |
| commit | 0fed0bfe33f3db4cb12295e6dfa404b1313afc78 (patch) | |
| tree | 1ac6ecc58cccde69fc2de7e30cc7152339d8cb8c /indra/llfilesystem/llfilesystem.cpp | |
| parent | c2898f7ca159d739da5174080f388b9c13c8a083 (diff) | |
Remove chatty warning message when checking for existence of a file
Diffstat (limited to 'indra/llfilesystem/llfilesystem.cpp')
| -rwxr-xr-x | indra/llfilesystem/llfilesystem.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/llfilesystem/llfilesystem.cpp b/indra/llfilesystem/llfilesystem.cpp index df8b8de880..0c220fe7cf 100755 --- a/indra/llfilesystem/llfilesystem.cpp +++ b/indra/llfilesystem/llfilesystem.cpp @@ -79,11 +79,6 @@ bool LLFileSystem::getExists(const LLUUID& file_id, const LLAssetType::EType fil // not only test for existence but for the file to be not empty S64 size = LLFile::size(filename); - if (size < 0) - { - LL_WARNS() << "Failed to get size for file '" << filename << "': " << strerror(errno) << LL_ENDL; - return false; - } return size > 0; } |
