Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/Common/LSBFDecoder.h')
-rwxr-xr-x7zip/Common/LSBFDecoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/7zip/Common/LSBFDecoder.h b/7zip/Common/LSBFDecoder.h
index 1f5dcb59..75458452 100755
--- a/7zip/Common/LSBFDecoder.h
+++ b/7zip/Common/LSBFDecoder.h
@@ -47,7 +47,7 @@ public:
{
for (;m_BitPos >= 8; m_BitPos -= 8)
{
- Byte b;
+ Byte b = 0;
if (!m_Stream.ReadByte(b))
{
b = 0xFF; // check it
@@ -88,9 +88,9 @@ public:
void Normalize()
{
- for (;this->m_BitPos >= 8; this->m_BitPos -= 8)
+ for (; this->m_BitPos >= 8; this->m_BitPos -= 8)
{
- Byte b;
+ Byte b = 0;
if (!this->m_Stream.ReadByte(b))
{
b = 0xFF; // check it