fixed Visual warnings

This commit is contained in:
Yann Collet
2016-01-31 02:51:03 +01:00
parent 61e16ce07c
commit 35f7de52c8
4 changed files with 13 additions and 5 deletions
+1 -2
View File
@@ -812,8 +812,7 @@ static size_t ZSTD_decompressSequences(
}
/* check if reached exact end */
if (nbSeq)
return ERROR(corruption_detected); /* DStream should be entirely and exactly consumed; otherwise data is corrupted */
if (nbSeq) return ERROR(corruption_detected);
}
/* last literal segment */