diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-03 19:24:25 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-03 19:24:25 +0000 |
commit | 78553cce481e0f05485033ff9a64d53d13893d97 (patch) | |
tree | d404074690106163ec0345d1076b5fc56d51d420 /indra/llaudio | |
parent | 1f5320e214e9cd62ecd2ef094d795119d5a2928a (diff) |
CID-283
Checker: UNINIT_CTOR
Function: LLVorbisDecodeState::LLVorbisDecodeState(const LLUUID &, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
File: /indra/llaudio/llaudiodecodemgr.cpp
Diffstat (limited to 'indra/llaudio')
-rw-r--r-- | indra/llaudio/llaudiodecodemgr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llaudio/llaudiodecodemgr.cpp b/indra/llaudio/llaudiodecodemgr.cpp index 6bbaad9cef..290206ee22 100644 --- a/indra/llaudio/llaudiodecodemgr.cpp +++ b/indra/llaudio/llaudiodecodemgr.cpp @@ -181,6 +181,8 @@ LLVorbisDecodeState::LLVorbisDecodeState(const LLUUID &uuid, const std::string & mFileHandle = LLLFSThread::nullHandle(); #endif // No default value for mVF, it's an ogg structure? + // Hey, let's zero it anyway, for predictability. + memset(&mVF, 0, sizeof(mVF)); } LLVorbisDecodeState::~LLVorbisDecodeState() |