fixed minor coverity warnings

This commit is contained in:
Yann Collet committed 2016-07-13 19:21:57 +02:00
1 parent f0bc673b26
commit 5e80dd3261
9 files changed
+38 -65

No files matched your search

+1 -1
View File
@@ -239,7 +239,7 @@ static U32 HUF_setMaxHeight(nodeElt* huffNode, U32 lastNonNull, U32 maxNbBits)
/* repay normalized cost */
{ U32 const noSymbol = 0xF0F0F0F0;
U32 rankLast[HUF_TABLELOG_MAX+1];
U32 rankLast[HUF_TABLELOG_MAX+2];
int pos;
/* Get pos of last (smallest) symbol per rank */