summaryrefslogtreecommitdiff
path: root/indra/test/llfile_tut.cpp
diff options
context:
space:
mode:
authorFrederick Martian <fredmartian@gmail.com>2025-12-04 00:10:42 +0100
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-12-10 20:33:58 +0200
commit2438854ea33d0a2f8d9fb13d2e3ef6f7d9bda235 (patch)
tree473b4284b3941a7b1ea09102e717927f3956bdcd /indra/test/llfile_tut.cpp
parente0c5fc80c78be6ce16d835a249c9da56c991b226 (diff)
Incorporate some of the comment improvements suggested by Copilot and make LLFile::size() return -1 on error and adjust the callers to account for that.
Diffstat (limited to 'indra/test/llfile_tut.cpp')
-rwxr-xr-xindra/test/llfile_tut.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/test/llfile_tut.cpp b/indra/test/llfile_tut.cpp
index 9cd7fd335f..c3676cd8b3 100755
--- a/indra/test/llfile_tut.cpp
+++ b/indra/test/llfile_tut.cpp
@@ -84,7 +84,6 @@ namespace tut
ensure("llfile_test1.dat should not yet exist", !LLFile::exists(testfile1.string()));
const char* testdata = "testdata";
- std::time_t current = time(nullptr);
S64 bytes = LLFile::write(testfile1.string(), testdata, 0, sizeof(testdata));
ensure("LLFile::write() did not write correctly", bytes == sizeof(testdata));