summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstreamtools.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-02-15 17:29:48 -0500
committerNat Goodspeed <nat@lindenlab.com>2023-02-15 17:29:48 -0500
commit292bb3991b589d39d61cf721b82fe7bdae460785 (patch)
treec27ca0e82409f35c3aa719e07b392d5b49a0abcd /indra/llcommon/llstreamtools.cpp
parent224667e1cc53d8b22e4b6107c3b0b274127941a7 (diff)
SL-18330: Fix per PR review comments.
Diffstat (limited to 'indra/llcommon/llstreamtools.cpp')
-rw-r--r--indra/llcommon/llstreamtools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llstreamtools.cpp b/indra/llcommon/llstreamtools.cpp
index 979e96b848..bc32b6fd9e 100644
--- a/indra/llcommon/llstreamtools.cpp
+++ b/indra/llcommon/llstreamtools.cpp
@@ -519,7 +519,7 @@ int cat_streambuf::underflow()
if (gptr() == egptr())
{
// here because our buffer is empty
- std::streamsize size;
+ std::streamsize size = 0;
// Until we've run out of mInputs, try reading the first of them
// into mBuffer. If that fetches some characters, break the loop.
while (! mInputs.empty()