]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fix clang -Wcomma warning 2267/head
authorCarl Woffenden <cwoffenden@gmail.com>
Thu, 13 Aug 2020 14:11:22 +0000 (16:11 +0200)
committerCarl Woffenden <cwoffenden@gmail.com>
Thu, 13 Aug 2020 14:11:22 +0000 (16:11 +0200)
lib/decompress/zstd_decompress_block.c

index e93d6febe93f5548bc7fed0984e562656012ac8e..115976d83aa7c9ac0dd135d2fbcab9ef14448a86 100644 (file)
@@ -499,7 +499,8 @@ size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr,
     if (nbSeq > 0x7F) {
         if (nbSeq == 0xFF) {
             RETURN_ERROR_IF(ip+2 > iend, srcSize_wrong, "");
-            nbSeq = MEM_readLE16(ip) + LONGNBSEQ, ip+=2;
+            nbSeq = MEM_readLE16(ip) + LONGNBSEQ;
+            ip+=2;
         } else {
             RETURN_ERROR_IF(ip >= iend, srcSize_wrong, "");
             nbSeq = ((nbSeq-0x80)<<8) + *ip++;