aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/lltemplatemessagereader.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2009-11-18 03:37:22 -0600
committerJacek Antonelli2009-11-18 03:44:07 -0600
commit5c2315db48750b0421b9bc84962c27a5c9d13388 (patch)
treee3716f9d98159143003757d36cd57664370e4d68 /linden/indra/llmessage/lltemplatemessagereader.cpp
parentRemoved prepackaged libstdc++ (Linux only). Fixes VWR-12404. (diff)
downloadmeta-impy-5c2315db48750b0421b9bc84962c27a5c9d13388.zip
meta-impy-5c2315db48750b0421b9bc84962c27a5c9d13388.tar.gz
meta-impy-5c2315db48750b0421b9bc84962c27a5c9d13388.tar.bz2
meta-impy-5c2315db48750b0421b9bc84962c27a5c9d13388.tar.xz
VWR-12620: Linux compile fails with -O2 (--type=Release)
Patch by Alissa Sabre.
Diffstat (limited to 'linden/indra/llmessage/lltemplatemessagereader.cpp')
-rw-r--r--linden/indra/llmessage/lltemplatemessagereader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/linden/indra/llmessage/lltemplatemessagereader.cpp b/linden/indra/llmessage/lltemplatemessagereader.cpp
index 7a7d3bb..12ffcfa 100644
--- a/linden/indra/llmessage/lltemplatemessagereader.cpp
+++ b/linden/indra/llmessage/lltemplatemessagereader.cpp
@@ -675,8 +675,7 @@ BOOL LLTemplateMessageReader::decodeData(const U8* buffer, const LLHost& sender
675 675
676 // default to 0s. 676 // default to 0s.
677 U32 size = mvci.getSize(); 677 U32 size = mvci.getSize();
678 std::vector<U8> data(size); 678 std::vector<U8> data(size, 0);
679 memset(&(data[0]), 0, size);
680 cur_data_block->addData(mvci.getName(), &(data[0]), 679 cur_data_block->addData(mvci.getName(), &(data[0]),
681 size, mvci.getType()); 680 size, mvci.getType());
682 } 681 }