Permalink
Browse files

Merge pull request #31 from pashcovich/patch-1

Fix V3043
  • Loading branch information...
MarcFletcher committed Nov 27, 2017
2 parents 91b6c94 + 084ba0f commit f2ba8753f0994da7f71d6f80ba420a914291d0a8
Showing with 2 additions and 2 deletions.
  1. +2 −2 NetworkCommsDotNet/DPSBase/SevenZipLZMACompressor/LzmaEncoder.cs
@@ -1427,7 +1427,7 @@ internal void SetCoderProperties(CoderPropID[] propIDs, object[] properties)
{
const int kDicLogSizeMaxCompress = 30;
if (!(prop is Int32))
throw new InvalidParamException(); ;
throw new InvalidParamException();
Int32 dictionarySize = (Int32)prop;
if (dictionarySize < (UInt32)(1 << Base.kDicLogSizeMin) ||
dictionarySize > (UInt32)(1 << kDicLogSizeMaxCompress))
@@ -1467,7 +1467,7 @@ dictionarySize > (UInt32)(1 << kDicLogSizeMaxCompress))
throw new InvalidParamException();
Int32 v = (Int32)prop;
if (v < 0 || v > (UInt32)Base.kNumLitContextBitsMax)
throw new InvalidParamException(); ;
throw new InvalidParamException();
_numLiteralContextBits = (int)v;
break;
}

0 comments on commit f2ba875

Please sign in to comment.