2025-07-11 00:19 ftp://ftp.de.debian.org/debian/pool/main/p/python-zstd/python-zstd_1.5.5.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 679 676 elapsed-time: 7.7 7.7 head-timing-info: old-timing-info: head results: zstd-1.5.5.1/src/python-zstd.c:113:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSTD_c_compressionLevel [valueFlowBailoutIncompleteVar] zstd-1.5.5.1/src/python-zstd.c:156:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSTD_CONTENTSIZE_UNKNOWN [valueFlowBailoutIncompleteVar] zstd-1.5.5.1/src/python-zstd.c:242:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSTD_VERSION_NUMBER [valueFlowBailoutIncompleteVar] zstd-1.5.5.1/src/python-zstd.c:350:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] zstd-1.5.5.1/src/python-zstd.c:216:51: style: Parameter 'self' can be declared as pointer to const. However it seems that 'py_zstd_module_version' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zstd-1.5.5.1/src/python-zstd.c:281:18: note: You might need to cast the function pointer here zstd-1.5.5.1/src/python-zstd.c:216:51: note: Parameter 'self' can be declared as pointer to const zstd-1.5.5.1/src/python-zstd.c:216:67: style: Parameter 'args' can be declared as pointer to const. However it seems that 'py_zstd_module_version' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zstd-1.5.5.1/src/python-zstd.c:281:18: note: You might need to cast the function pointer here zstd-1.5.5.1/src/python-zstd.c:216:67: note: Parameter 'args' can be declared as pointer to const zstd-1.5.5.1/src/python-zstd.c:248:53: style: Parameter 'self' can be declared as pointer to const. However it seems that 'py_zstd_library_external' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zstd-1.5.5.1/src/python-zstd.c:286:24: note: You might need to cast the function pointer here zstd-1.5.5.1/src/python-zstd.c:248:53: note: Parameter 'self' can be declared as pointer to const zstd-1.5.5.1/src/python-zstd.c:248:69: style: Parameter 'args' can be declared as pointer to const. However it seems that 'py_zstd_library_external' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zstd-1.5.5.1/src/python-zstd.c:286:24: note: You might need to cast the function pointer here zstd-1.5.5.1/src/python-zstd.c:248:69: note: Parameter 'args' can be declared as pointer to const zstd-1.5.5.1/src/python-zstd.c:257:50: style: Parameter 'self' can be declared as pointer to const. However it seems that 'py_zstd_threads_count' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zstd-1.5.5.1/src/python-zstd.c:284:29: note: You might need to cast the function pointer here zstd-1.5.5.1/src/python-zstd.c:257:50: note: Parameter 'self' can be declared as pointer to const zstd-1.5.5.1/src/python-zstd.c:257:66: style: Parameter 'args' can be declared as pointer to const. However it seems that 'py_zstd_threads_count' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zstd-1.5.5.1/src/python-zstd.c:284:29: note: You might need to cast the function pointer here zstd-1.5.5.1/src/python-zstd.c:257:66: note: Parameter 'args' can be declared as pointer to const zstd-1.5.5.1/src/python-zstd.c:267:54: style: Parameter 'self' can be declared as pointer to const. However it seems that 'py_zstd_max_threads_count' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zstd-1.5.5.1/src/python-zstd.c:285:33: note: You might need to cast the function pointer here zstd-1.5.5.1/src/python-zstd.c:267:54: note: Parameter 'self' can be declared as pointer to const zstd-1.5.5.1/src/python-zstd.c:267:70: style: Parameter 'args' can be declared as pointer to const. However it seems that 'py_zstd_max_threads_count' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zstd-1.5.5.1/src/python-zstd.c:285:33: note: You might need to cast the function pointer here zstd-1.5.5.1/src/python-zstd.c:267:70: note: Parameter 'args' can be declared as pointer to const zstd-1.5.5.1/src/pythoncapi_compat.h:196:45: style: Parameter 'tstate' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/src/pythoncapi_compat.h:228:20: style: Variable 'tstate' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/src/python-zstd.c:292:15: style: struct member 'module_state::error' is never used. [unusedStructMember] zstd-1.5.5.1/src/python-zstd.c:65:21: style: Variable 'cctx' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/common/mem.h:289:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/common/mem.h:289:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/common/mem.h:289:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/common/mem.h:363:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/common/mem.h:363:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/common/mem.h:363:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/common/mem.h:371:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/common/mem.h:371:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/common/mem.h:371:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/common/mem.h:413:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/common/mem.h:413:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/common/mem.h:413:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/common/mem.h:421:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/common/mem.h:421:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/common/mem.h:421:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/common/mem.h:192:39: style:inconclusive: Function 'MEM_read16' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/mem.h:96:39: note: Function 'MEM_read16' argument 1 names different: declaration 'memPtr' definition 'ptr'. zstd-1.5.5.1/zstd/lib/common/mem.h:192:39: note: Function 'MEM_read16' argument 1 names different: declaration 'memPtr' definition 'ptr'. zstd-1.5.5.1/zstd/lib/common/mem.h:193:39: style:inconclusive: Function 'MEM_read32' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/mem.h:97:39: note: Function 'MEM_read32' argument 1 names different: declaration 'memPtr' definition 'ptr'. zstd-1.5.5.1/zstd/lib/common/mem.h:193:39: note: Function 'MEM_read32' argument 1 names different: declaration 'memPtr' definition 'ptr'. zstd-1.5.5.1/zstd/lib/common/mem.h:194:39: style:inconclusive: Function 'MEM_read64' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/mem.h:98:39: note: Function 'MEM_read64' argument 1 names different: declaration 'memPtr' definition 'ptr'. zstd-1.5.5.1/zstd/lib/common/mem.h:194:39: note: Function 'MEM_read64' argument 1 names different: declaration 'memPtr' definition 'ptr'. zstd-1.5.5.1/zstd/lib/common/mem.h:195:42: style:inconclusive: Function 'MEM_readST' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/mem.h:99:42: note: Function 'MEM_readST' argument 1 names different: declaration 'memPtr' definition 'ptr'. zstd-1.5.5.1/zstd/lib/common/mem.h:195:42: note: Function 'MEM_readST' argument 1 names different: declaration 'memPtr' definition 'ptr'. zstd-1.5.5.1/zstd/lib/common/pool.c:322:9: style: struct member 'POOL_ctx_s::dummy' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/compress/hist.c:141:39: style:inconclusive: Function 'HIST_countFast_wksp' argument 3 names different: declaration 'src' definition 'source'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/compress/hist.h:63:40: note: Function 'HIST_countFast_wksp' argument 3 names different: declaration 'src' definition 'source'. zstd-1.5.5.1/zstd/lib/compress/hist.c:141:39: note: Function 'HIST_countFast_wksp' argument 3 names different: declaration 'src' definition 'source'. zstd-1.5.5.1/zstd/lib/compress/hist.c:141:54: style:inconclusive: Function 'HIST_countFast_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/compress/hist.h:63:52: note: Function 'HIST_countFast_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. zstd-1.5.5.1/zstd/lib/compress/hist.c:141:54: note: Function 'HIST_countFast_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. zstd-1.5.5.1/zstd/lib/compress/hist.c:155:36: style:inconclusive: Function 'HIST_count_wksp' argument 3 names different: declaration 'src' definition 'source'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/compress/hist.h:47:36: note: Function 'HIST_count_wksp' argument 3 names different: declaration 'src' definition 'source'. zstd-1.5.5.1/zstd/lib/compress/hist.c:155:36: note: Function 'HIST_count_wksp' argument 3 names different: declaration 'src' definition 'source'. zstd-1.5.5.1/zstd/lib/compress/hist.c:155:51: style:inconclusive: Function 'HIST_count_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/compress/hist.h:47:48: note: Function 'HIST_count_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. zstd-1.5.5.1/zstd/lib/compress/hist.c:155:51: note: Function 'HIST_count_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. zstd-1.5.5.1/zstd/lib/compress/hist.c:169:34: style:inconclusive: Function 'HIST_countFast' argument 3 names different: declaration 'src' definition 'source'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/compress/hist.h:55:35: note: Function 'HIST_countFast' argument 3 names different: declaration 'src' definition 'source'. zstd-1.5.5.1/zstd/lib/compress/hist.c:169:34: note: Function 'HIST_countFast' argument 3 names different: declaration 'src' definition 'source'. zstd-1.5.5.1/zstd/lib/compress/hist.c:169:49: style:inconclusive: Function 'HIST_countFast' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/compress/hist.h:55:47: note: Function 'HIST_countFast' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. zstd-1.5.5.1/zstd/lib/compress/hist.c:169:49: note: Function 'HIST_countFast' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2156:54: style:inconclusive: Boolean expression 'len>=16' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/common/fse_decompress.c:199:64: style:inconclusive: Boolean expression 'BIT_reloadDStream(&bitD)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/common/bits.h:155:23: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/common/bits.h:155:23: note: Calling function 'MEM_64bits' returns 1 zstd-1.5.5.1/zstd/lib/common/bits.h:155:23: note: Condition 'MEM_64bits()' is always true zstd-1.5.5.1/zstd/lib/common/bits.h:161:23: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/common/bits.h:161:23: note: Calling function 'MEM_64bits' returns 1 zstd-1.5.5.1/zstd/lib/common/bits.h:161:23: note: Condition 'MEM_64bits()' is always true zstd-1.5.5.1/zstd/lib/common/xxhash.h:2089:62: style:inconclusive: Function 'ZSTD_XXH32' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:404:62: note: Function 'ZSTD_XXH32' argument 2 names different: declaration 'length' definition 'len'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2089:62: note: Function 'ZSTD_XXH32' argument 2 names different: declaration 'length' definition 'len'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2125:52: style:inconclusive: Function 'ZSTD_XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:487:52: note: Function 'ZSTD_XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2125:52: note: Function 'ZSTD_XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2125:83: style:inconclusive: Function 'ZSTD_XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:487:84: note: Function 'ZSTD_XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2125:83: note: Function 'ZSTD_XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2145:29: style:inconclusive: Function 'ZSTD_XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:522:59: note: Function 'ZSTD_XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2145:29: note: Function 'ZSTD_XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2145:62: style:inconclusive: Function 'ZSTD_XXH32_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:522:95: note: Function 'ZSTD_XXH32_update' argument 3 names different: declaration 'length' definition 'len'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2145:62: note: Function 'ZSTD_XXH32_update' argument 3 names different: declaration 'length' definition 'len'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2199:63: style:inconclusive: Function 'ZSTD_XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:538:65: note: Function 'ZSTD_XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2199:63: note: Function 'ZSTD_XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2505:62: style:inconclusive: Function 'ZSTD_XXH64' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:698:61: note: Function 'ZSTD_XXH64' argument 2 names different: declaration 'length' definition 'len'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2505:62: note: Function 'ZSTD_XXH64' argument 2 names different: declaration 'length' definition 'len'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2539:52: style:inconclusive: Function 'ZSTD_XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:709:52: note: Function 'ZSTD_XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2539:52: note: Function 'ZSTD_XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2539:83: style:inconclusive: Function 'ZSTD_XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:709:84: note: Function 'ZSTD_XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2539:83: note: Function 'ZSTD_XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2558:30: style:inconclusive: Function 'ZSTD_XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:712:59: note: Function 'ZSTD_XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2558:30: note: Function 'ZSTD_XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2558:63: style:inconclusive: Function 'ZSTD_XXH64_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:712:95: note: Function 'ZSTD_XXH64_update' argument 3 names different: declaration 'length' definition 'len'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2558:63: note: Function 'ZSTD_XXH64_update' argument 3 names different: declaration 'length' definition 'len'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2609:63: style:inconclusive: Function 'ZSTD_XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/xxhash.h:713:65: note: Function 'ZSTD_XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state'. zstd-1.5.5.1/zstd/lib/common/xxhash.h:2609:63: note: Function 'ZSTD_XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state'. zstd-1.5.5.1/zstd/lib/common/bitstream.h:154:41: style:inconclusive: Function 'BIT_initCStream' argument 2 names different: declaration 'dstBuffer' definition 'startPtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/bitstream.h:67:62: note: Function 'BIT_initCStream' argument 2 names different: declaration 'dstBuffer' definition 'startPtr'. zstd-1.5.5.1/zstd/lib/common/bitstream.h:154:41: note: Function 'BIT_initCStream' argument 2 names different: declaration 'dstBuffer' definition 'startPtr'. zstd-1.5.5.1/zstd/lib/common/bitstream.h:428:59: style:inconclusive: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/bitstream.h:110:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/common/bitstream.h:428:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/common/fse.h:436:46: style:inconclusive: Function 'FSE_initCState' argument 1 names different: declaration 'CStatePtr' definition 'statePtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:306:42: note: Function 'FSE_initCState' argument 1 names different: declaration 'CStatePtr' definition 'statePtr'. zstd-1.5.5.1/zstd/lib/common/fse.h:436:46: note: Function 'FSE_initCState' argument 1 names different: declaration 'CStatePtr' definition 'statePtr'. zstd-1.5.5.1/zstd/lib/common/fse.h:462:69: style:inconclusive: Function 'FSE_encodeSymbol' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:308:65: note: Function 'FSE_encodeSymbol' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. zstd-1.5.5.1/zstd/lib/common/fse.h:462:69: note: Function 'FSE_encodeSymbol' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. zstd-1.5.5.1/zstd/lib/common/fse.h:471:74: style:inconclusive: Function 'FSE_flushCState' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:310:70: note: Function 'FSE_flushCState' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. zstd-1.5.5.1/zstd/lib/common/fse.h:471:74: note: Function 'FSE_flushCState' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. zstd-1.5.5.1/zstd/lib/common/fse_decompress.c:184:17: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/common/entropy_common.c:207:45: style:inconclusive: Function 'FSE_readNCount_bmi2' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:197:38: note: Function 'FSE_readNCount_bmi2' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:207:45: note: Function 'FSE_readNCount_bmi2' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:208:21: style:inconclusive: Function 'FSE_readNCount_bmi2' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:198:40: note: Function 'FSE_readNCount_bmi2' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:208:21: note: Function 'FSE_readNCount_bmi2' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:208:42: style:inconclusive: Function 'FSE_readNCount_bmi2' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:198:56: note: Function 'FSE_readNCount_bmi2' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:208:42: note: Function 'FSE_readNCount_bmi2' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:220:45: style:inconclusive: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:190:38: note: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:220:45: note: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:221:21: style:inconclusive: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:191:40: note: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:221:21: note: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:221:42: style:inconclusive: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:191:56: note: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:221:42: note: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:330:28: style:inconclusive: Function 'HUF_readStats_wksp' argument 8 names different: declaration 'workspace' definition 'workSpace'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/huf.h:191:33: note: Function 'HUF_readStats_wksp' argument 8 names different: declaration 'workspace' definition 'workSpace'. zstd-1.5.5.1/zstd/lib/common/entropy_common.c:330:28: note: Function 'HUF_readStats_wksp' argument 8 names different: declaration 'workspace' definition 'workSpace'. zstd-1.5.5.1/zstd/lib/common/zstd_common.c:44:41: style:inconclusive: Function 'ZSTD_getErrorCode' argument 1 names different: declaration 'functionResult' definition 'code'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd_errors.h:106:58: note: Function 'ZSTD_getErrorCode' argument 1 names different: declaration 'functionResult' definition 'code'. zstd-1.5.5.1/zstd/lib/common/zstd_common.c:44:41: note: Function 'ZSTD_getErrorCode' argument 1 names different: declaration 'functionResult' definition 'code'. zstd-1.5.5.1/zstd/lib/common/zstd_internal.h:225:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:165:5: style: Redundant condition: The condition '0 != 1' is redundant since '0 == 0' is sufficient. [redundantCondition] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:315:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:315:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:315:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:317:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:317:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:317:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:348:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:348:27: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:348:27: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:350:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:350:27: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:350:27: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:353:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:353:27: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:353:27: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:355:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:355:27: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/compress/zstd_compress_sequences.c:355:27: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/compress/fse_compress.c:465:58: style:inconclusive: Function 'FSE_normalizeCount' argument 4 names different: declaration 'srcSize' definition 'total'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:107:51: note: Function 'FSE_normalizeCount' argument 4 names different: declaration 'srcSize' definition 'total'. zstd-1.5.5.1/zstd/lib/compress/fse_compress.c:465:58: note: Function 'FSE_normalizeCount' argument 4 names different: declaration 'srcSize' definition 'total'. zstd-1.5.5.1/zstd/lib/compress/fse_compress.c:609:52: style:inconclusive: Function 'FSE_compress_usingCTable' argument 2 names different: declaration 'dstCapacity' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/fse.h:136:67: note: Function 'FSE_compress_usingCTable' argument 2 names different: declaration 'dstCapacity' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/compress/fse_compress.c:609:52: note: Function 'FSE_compress_usingCTable' argument 2 names different: declaration 'dstCapacity' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress_internal.h:1277:8: style:inconclusive: Boolean expression 'ip+srcSize>window->dictBase+window->lowLimit' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_literals.c:164:13: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_internal.h:769:19: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_internal.h:769:19: note: Calling function 'MEM_64bits' returns 1 zstd-1.5.5.1/zstd/lib/compress/zstd_compress_internal.h:769:19: note: Condition 'MEM_64bits()' is always true zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:254:23: style:inconclusive: Boolean expression 'hSize>1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1041:103: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1041:103: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1041:103: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1043:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1043:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1043:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/compress/zstd_cwksp.h:273:60: style: Parameter 'ws' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/compress/zstd_cwksp.h:288:17: style: Variable 'bottom' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_cwksp.h:444:11: style: Variable 'top' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:322:45: style:inconclusive: Function 'HUF_getNbBitsFromCTable' argument 1 names different: declaration 'symbolTable' definition 'CTable'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/huf.h:201:45: note: Function 'HUF_getNbBitsFromCTable' argument 1 names different: declaration 'symbolTable' definition 'CTable'. zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:322:45: note: Function 'HUF_getNbBitsFromCTable' argument 1 names different: declaration 'symbolTable' definition 'CTable'. zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:730:32: style:inconclusive: Function 'HUF_buildCTable_wksp' argument 1 names different: declaration 'tree' definition 'CTable'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/huf.h:168:40: note: Function 'HUF_buildCTable_wksp' argument 1 names different: declaration 'tree' definition 'CTable'. zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:730:32: note: Function 'HUF_buildCTable_wksp' argument 1 names different: declaration 'tree' definition 'CTable'. zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1409:57: style:inconclusive: Function 'HUF_compress1X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/huf.h:244:58: note: Function 'HUF_compress1X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1409:57: note: Function 'HUF_compress1X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1426:57: style:inconclusive: Function 'HUF_compress4X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/common/huf.h:158:58: note: Function 'HUF_compress4X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1426:57: note: Function 'HUF_compress4X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:153:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1031:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1143:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1192:29: style: Parameter 'ostart' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/compress/huf_compress.c:1192:59: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_superblock.c:51:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_superblock.c:173:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_superblock.c:276:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_superblock.c:448:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_superblock.c:141:22: style: Variable 'litLengthSum' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/compress/zstd_ldm.c:632:26: style: Condition 'remaining=sequence.litLength+sequence.matchLength' is not redundant zstd-1.5.5.1/zstd/lib/compress/zstd_ldm.c:632:26: note: Condition 'remaining=remaining' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5431:32: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2654:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2654:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2654:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/compress/zstd_fast.c:227:39: style:inconclusive: Boolean expression 'MEM_read32(ip2)==rval' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_fast.c:366:26: style:inconclusive: Boolean expression 'ip0>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_fast.c:563:48: style:inconclusive: Boolean expression 'ip0>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_fast.c:581:40: style:inconclusive: Boolean expression 'ip0>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_fast.c:773:18: style:inconclusive: Boolean expression '(U32)(prefixStartIndex-repIndex)>=4' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_fast.c:888:30: style:inconclusive: Boolean expression 'ip0>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_fast.c:920:66: style:inconclusive: Boolean expression '(U32)((prefixStartIndex-1)-repIndex2)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:425:51: style:inconclusive: Function 'ZSTD_cParam_getBounds' argument 1 names different: declaration 'cParam' definition 'param'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:522:63: note: Function 'ZSTD_cParam_getBounds' argument 1 names different: declaration 'cParam' definition 'param'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:425:51: note: Function 'ZSTD_cParam_getBounds' argument 1 names different: declaration 'cParam' definition 'param'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:768:55: style:inconclusive: Function 'ZSTD_CCtxParams_setParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2266:74: note: Function 'ZSTD_CCtxParams_setParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:768:55: note: Function 'ZSTD_CCtxParams_setParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:1019:33: style:inconclusive: Function 'ZSTD_CCtxParams_getParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2273:80: note: Function 'ZSTD_CCtxParams_getParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:1019:33: note: Function 'ZSTD_CCtxParams_getParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:1376:53: style:inconclusive: Function 'ZSTD_checkCParams' argument 1 names different: declaration 'params' definition 'cParams'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:1828:72: note: Function 'ZSTD_checkCParams' argument 1 names different: declaration 'params' definition 'cParams'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:1376:53: note: Function 'ZSTD_checkCParams' argument 1 names different: declaration 'params' definition 'cParams'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2534:33: style:inconclusive: Function 'ZSTD_copyCCtx' argument 1 names different: declaration 'cctx' definition 'dstCCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2857:33: note: Function 'ZSTD_copyCCtx' argument 1 names different: declaration 'cctx' definition 'dstCCtx'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2534:33: note: Function 'ZSTD_copyCCtx' argument 1 names different: declaration 'cctx' definition 'dstCCtx'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2534:59: style:inconclusive: Function 'ZSTD_copyCCtx' argument 2 names different: declaration 'preparedCCtx' definition 'srcCCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2857:56: note: Function 'ZSTD_copyCCtx' argument 2 names different: declaration 'preparedCCtx' definition 'srcCCtx'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2534:59: note: Function 'ZSTD_copyCCtx' argument 2 names different: declaration 'preparedCCtx' definition 'srcCCtx'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2990:89: style:inconclusive: Function 'ZSTD_selectBlockCompressor' argument 2 names different: declaration 'rowMatchfinderMode' definition 'useRowMatchFinder'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/compress/zstd_compress_internal.h:519:89: note: Function 'ZSTD_selectBlockCompressor' argument 2 names different: declaration 'rowMatchfinderMode' definition 'useRowMatchFinder'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2990:89: note: Function 'ZSTD_selectBlockCompressor' argument 2 names different: declaration 'rowMatchfinderMode' definition 'useRowMatchFinder'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5234:43: style:inconclusive: Function 'ZSTD_compress_usingDict' argument 1 names different: declaration 'ctx' definition 'cctx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:909:55: note: Function 'ZSTD_compress_usingDict' argument 1 names different: declaration 'ctx' definition 'cctx'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5234:43: note: Function 'ZSTD_compress_usingDict' argument 1 names different: declaration 'ctx' definition 'cctx'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5402:51: style:inconclusive: Function 'ZSTD_createCDict_advanced' argument 1 names different: declaration 'dict' definition 'dictBuffer'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:1764:70: note: Function 'ZSTD_createCDict_advanced' argument 1 names different: declaration 'dict' definition 'dictBuffer'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5402:51: note: Function 'ZSTD_createCDict_advanced' argument 1 names different: declaration 'dict' definition 'dictBuffer'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5423:33: style:inconclusive: Function 'ZSTD_createCDict_advanced2' argument 5 names different: declaration 'cctxParams' definition 'originalCctxParams'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:1793:29: note: Function 'ZSTD_createCDict_advanced2' argument 5 names different: declaration 'cctxParams' definition 'originalCctxParams'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5423:33: note: Function 'ZSTD_createCDict_advanced2' argument 5 names different: declaration 'cctxParams' definition 'originalCctxParams'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5469:42: style:inconclusive: Function 'ZSTD_createCDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:944:54: note: Function 'ZSTD_createCDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5469:42: note: Function 'ZSTD_createCDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5480:54: style:inconclusive: Function 'ZSTD_createCDict_byReference' argument 1 names different: declaration 'dictBuffer' definition 'dict'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:1813:73: note: Function 'ZSTD_createCDict_byReference' argument 1 names different: declaration 'dictBuffer' definition 'dict'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5480:54: note: Function 'ZSTD_createCDict_byReference' argument 1 names different: declaration 'dictBuffer' definition 'dict'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5491:35: style:inconclusive: Function 'ZSTD_freeCDict' argument 1 names different: declaration 'CDict' definition 'cdict'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:950:52: note: Function 'ZSTD_freeCDict' argument 1 names different: declaration 'CDict' definition 'cdict'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5491:35: note: Function 'ZSTD_freeCDict' argument 1 names different: declaration 'CDict' definition 'cdict'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5729:64: style:inconclusive: Function 'ZSTD_resetCStream' argument 2 names different: declaration 'pledgedSrcSize' definition 'pss'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2571:64: note: Function 'ZSTD_resetCStream' argument 2 names different: declaration 'pledgedSrcSize' definition 'pss'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5729:64: note: Function 'ZSTD_resetCStream' argument 2 names different: declaration 'pledgedSrcSize' definition 'pss'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5797:77: style:inconclusive: Function 'ZSTD_initCStream_advanced' argument 5 names different: declaration 'pledgedSrcSize' definition 'pss'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2518:46: note: Function 'ZSTD_initCStream_advanced' argument 5 names different: declaration 'pledgedSrcSize' definition 'pss'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5797:77: note: Function 'ZSTD_initCStream_advanced' argument 5 names different: declaration 'pledgedSrcSize' definition 'pss'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5822:93: style:inconclusive: Function 'ZSTD_initCStream_srcSize' argument 3 names different: declaration 'pledgedSrcSize' definition 'pss'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2481:45: note: Function 'ZSTD_initCStream_srcSize' argument 3 names different: declaration 'pledgedSrcSize' definition 'pss'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5822:93: note: Function 'ZSTD_initCStream_srcSize' argument 3 names different: declaration 'pledgedSrcSize' definition 'pss'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:6793:49: style:inconclusive: Function 'ZSTD_compressSequences' argument 3 names different: declaration 'dstSize' definition 'dstCapacity'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:1594:60: note: Function 'ZSTD_compressSequences' argument 3 names different: declaration 'dstSize' definition 'dstCapacity'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:6793:49: note: Function 'ZSTD_compressSequences' argument 3 names different: declaration 'dstSize' definition 'dstCapacity'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:6987:85: style:inconclusive: Function 'ZSTD_getCParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:1818:104: note: Function 'ZSTD_getCParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:6987:85: note: Function 'ZSTD_getCParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:7011:73: style:inconclusive: Function 'ZSTD_getParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:1823:92: note: Function 'ZSTD_getParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:7011:73: note: Function 'ZSTD_getParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:7017:16: style:inconclusive: Function 'ZSTD_registerSequenceProducer' argument 1 names different: declaration 'cctx' definition 'zc'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2798:14: note: Function 'ZSTD_registerSequenceProducer' argument 1 names different: declaration 'cctx' definition 'zc'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:7017:16: note: Function 'ZSTD_registerSequenceProducer' argument 1 names different: declaration 'cctx' definition 'zc'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:7017:26: style:inconclusive: Function 'ZSTD_registerSequenceProducer' argument 2 names different: declaration 'sequenceProducerState' definition 'mState'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2799:9: note: Function 'ZSTD_registerSequenceProducer' argument 2 names different: declaration 'sequenceProducerState' definition 'mState'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:7017:26: note: Function 'ZSTD_registerSequenceProducer' argument 2 names different: declaration 'sequenceProducerState' definition 'mState'. zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2679:56: style: Parameter 'cctxParams' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2842:17: style: Variable 'CTable_LitLength' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2843:17: style: Variable 'CTable_OffsetBits' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2844:17: style: Variable 'CTable_MatchLength' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2851:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:3482:17: style: Variable 'wkspEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:3610:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:3788:64: style: Parameter 'seqStore' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:4808:48: style: Parameter 'normalizedCounter' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5872:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_fast.c:398:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5712:36: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:2752:24: error: Uninitialized variables: stats.Offtype, stats.MLtype [uninitvar] zstd-1.5.5.1/zstd/lib/compress/zstd_compress.c:5110:19: style: Variable 'fhSize' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/decompress/zstd_ddict.c:170:42: style:inconclusive: Function 'ZSTD_createDDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:968:54: note: Function 'ZSTD_createDDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. zstd-1.5.5.1/zstd/lib/decompress/zstd_ddict.c:170:42: note: Function 'ZSTD_createDDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. zstd-1.5.5.1/zstd/lib/decompress/zstd_ddict.c:188:39: style:inconclusive: Function 'ZSTD_initStaticDDict' argument 1 names different: declaration 'workspace' definition 'sBuffer'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:1739:47: note: Function 'ZSTD_initStaticDDict' argument 1 names different: declaration 'workspace' definition 'sBuffer'. zstd-1.5.5.1/zstd/lib/decompress/zstd_ddict.c:188:39: note: Function 'ZSTD_initStaticDDict' argument 1 names different: declaration 'workspace' definition 'sBuffer'. zstd-1.5.5.1/zstd/lib/decompress/zstd_ddict.c:188:55: style:inconclusive: Function 'ZSTD_initStaticDDict' argument 2 names different: declaration 'workspaceSize' definition 'sBufferSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:1739:65: note: Function 'ZSTD_initStaticDDict' argument 2 names different: declaration 'workspaceSize' definition 'sBufferSize'. zstd-1.5.5.1/zstd/lib/decompress/zstd_ddict.c:188:55: note: Function 'ZSTD_initStaticDDict' argument 2 names different: declaration 'workspaceSize' definition 'sBufferSize'. zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:695:36: style:inconclusive: Boolean expression 'matchIndex>=lowLimit' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:738:46: style:inconclusive: Boolean expression 'matchIndex>=dmsLowestIndex' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1686:43: style:inconclusive: Boolean expression 'start>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1735:37: style:inconclusive: Boolean expression 'ip<=ilimit' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1956:16: style:inconclusive: Boolean expression '(U32)((dictLimit-1)-repIndex)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1997:20: style:inconclusive: Boolean expression '(U32)((dictLimit-1)-repIndex)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:2029:24: style:inconclusive: Boolean expression '(U32)((dictLimit-1)-repIndex)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:2083:16: style:inconclusive: Boolean expression '(U32)((dictLimit-1)-repIndex)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1614:28: style: Condition 'mlRep>=4' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1611:76: note: Assignment 'mlRep=ZSTD_count(ip+4,ip+4-offset_1,iend)+4', assigned value is greater than 3 zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1614:28: note: Condition 'mlRep>=4' is always true zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1628:32: style: Condition 'mlRep>=4' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1625:114: note: Assignment 'mlRep=ZSTD_count_2segments(ip+4,repMatch+4,iend,repMatchEnd,prefixLowest)+4', assigned value is greater than 3 zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1628:32: note: Condition 'mlRep>=4' is always true zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1650:32: style: Condition 'mlRep>=4' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1647:80: note: Assignment 'mlRep=ZSTD_count(ip+4,ip+4-offset_1,iend)+4', assigned value is greater than 3 zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1650:32: note: Condition 'mlRep>=4' is always true zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1664:36: style: Condition 'mlRep>=4' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1661:118: note: Assignment 'mlRep=ZSTD_count_2segments(ip+4,repMatch+4,iend,repMatchEnd,prefixLowest)+4', assigned value is greater than 3 zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1664:36: note: Condition 'mlRep>=4' is always true zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:2004:36: style: Condition 'repLength>=4' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:2001:112: note: Assignment 'repLength=ZSTD_count_2segments(ip+4,repMatch+4,iend,repEnd,prefixStart)+4', assigned value is greater than 3 zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:2004:36: note: Condition 'repLength>=4' is always true zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:2036:40: style: Condition 'repLength>=4' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:2033:116: note: Assignment 'repLength=ZSTD_count_2segments(ip+4,repMatch+4,iend,repEnd,prefixStart)+4', assigned value is greater than 3 zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:2036:40: note: Condition 'repLength>=4' is always true zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:192:41: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:244:37: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:252:29: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:401:37: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:413:37: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:453:41: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:465:41: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:473:33: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:477:33: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:645:13: style:inconclusive: Boolean expression '(U32)((prefixStartIndex-1)-repIndex)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:658:37: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:676:41: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:682:41: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:713:21: style:inconclusive: Boolean expression '(U32)((prefixStartIndex-1)-repIndex2)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1743:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:192:20: style: Variable 'nextPtr' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:292:20: style: Variable 'nextCandidateIdxPtr' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:661:16: style: Variable 'chainTable' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1158:10: style: Variable 'dmsRow' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_lazy.c:1159:11: style: Variable 'dmsTagRow' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstd_double_fast.c:300:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:520:71: style:inconclusive: Boolean expression 'BIT_reloadDStream(bitDPtr)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:532:71: style:inconclusive: Boolean expression 'BIT_reloadDStream(bitDPtr)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:620:33: style:inconclusive: Boolean expression 'op4=bSize' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:757:28: style:inconclusive: Boolean expression 'nbChunks>0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:759:63: style:inconclusive: Boolean expression 'lastBlockSize1==0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:953:25: style:inconclusive: Boolean expression '!mtctx->factory' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:271:114: style: Parameter 'segmentEnd' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:514:71: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:516:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:581:21: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:694:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:706:15: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:1004:31: style: Variable 'DTableRankEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:1256:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:1339:21: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/huf_decompress.c:1491:15: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:953:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:953:40: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:953:58: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:953:77: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:953:95: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:735:15: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:2007:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableLog [valueFlowBailoutIncompleteVar] zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:1778:13: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/compress/zstd_opt.c:656:22: style:inconclusive: Boolean expression '(repOffset-1)sufficient_len' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_opt.c:683:11: style:inconclusive: Boolean expression 'matchIndex3>=matchLow' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_opt.c:703:46: style:inconclusive: Boolean expression 'mlen>sufficient_len' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_opt.c:743:16: style:inconclusive: Boolean expression 'matchLength>(1<<12)' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_opt.c:790:20: style:inconclusive: Boolean expression 'matchLength>(1<<12)' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/compress/zstd_opt.c:1093:61: style: Same expression on both sides of '-' because 'ip' and 'istart' represent the same value. [duplicateExpression] zstd-1.5.5.1/zstd/lib/compress/zstd_opt.c:1070:22: note: 'ip' is assigned value 'istart' here. zstd-1.5.5.1/zstd/lib/compress/zstd_opt.c:1093:61: note: Same expression on both sides of '-' because 'ip' and 'istart' represent the same value. zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:257:19: style: Condition 'FSE_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:257:19: note: Calling function 'FSE_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:257:19: note: Condition 'FSE_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1682:24: style: Condition 'ZSTD_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1682:24: note: Calling function 'ZSTD_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1682:24: note: Condition 'ZSTD_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1686:24: style: Condition 'ZSTD_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1686:24: note: Calling function 'ZSTD_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1686:24: note: Condition 'ZSTD_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1907:60: style:inconclusive: Function 'ZSTDv01_decompressDCtx' argument 3 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.h:65:49: note: Function 'ZSTDv01_decompressDCtx' argument 3 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1907:60: note: Function 'ZSTDv01_decompressDCtx' argument 3 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1907:96: style:inconclusive: Function 'ZSTDv01_decompressDCtx' argument 5 names different: declaration 'compressedSize' definition 'srcSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.h:66:49: note: Function 'ZSTDv01_decompressDCtx' argument 5 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1907:96: note: Function 'ZSTDv01_decompressDCtx' argument 5 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1964:45: style:inconclusive: Function 'ZSTDv01_decompress' argument 2 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.h:35:46: note: Function 'ZSTDv01_decompress' argument 2 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1964:45: note: Function 'ZSTDv01_decompress' argument 2 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1964:81: style:inconclusive: Function 'ZSTDv01_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.h:36:46: note: Function 'ZSTDv01_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1964:81: note: Function 'ZSTDv01_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:658:43: style: Parameter 'bitD' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:664:47: style: Parameter 'bitD' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:782:17: style: Variable 'omax' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:783:17: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:941:24: style: Variable 'l' can be declared as const array [constVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1037:21: style: Variable 'omax' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1038:21: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1332:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1718:63: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1723:17: style: Variable 'oLitEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1913:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:62:12: style: struct member 'FSE_CStream_t::bitContainer' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:63:12: style: struct member 'FSE_CStream_t::bitPos' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:64:12: style: struct member 'FSE_CStream_t::startPtr' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:65:12: style: struct member 'FSE_CStream_t::ptr' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:66:12: style: struct member 'FSE_CStream_t::endPtr' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:71:17: style: struct member 'FSE_CState_t::value' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:72:17: style: struct member 'FSE_CState_t::stateTable' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:73:17: style: struct member 'FSE_CState_t::symbolTT' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:74:17: style: struct member 'FSE_CState_t::stateLog' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:201:23: style: union member 'Anonymous0::i' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:291:9: style: struct member 'FSE_symbolCompressionTransform::deltaFindState' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:292:9: style: struct member 'FSE_symbolCompressionTransform::deltaNbBits' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:898:8: style: struct member 'HUF_CElt_s::val' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:899:8: style: struct member 'HUF_CElt_s::nbBits' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:903:9: style: struct member 'nodeElt_s::count' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:904:9: style: struct member 'nodeElt_s::parent' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1383:9: style: Redundant condition: The condition 'BIT_DStream_completed > 0' is redundant since 'BIT_DStream_completed > 1' is sufficient. [redundantCondition] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1600:9: style: Redundant condition: The condition 'BIT_DStream_completed > 0' is redundant since 'BIT_DStream_completed > 1' is sufficient. [redundantCondition] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:905:10: style: struct member 'nodeElt_s::byte' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:906:10: style: struct member 'nodeElt_s::nbBits' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1316:23: style: union member 'Anonymous2::i' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:145:42: style: Condition 'ZSTD_DCtx_get_bmi2(dctx)' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:145:42: note: Calling function 'ZSTD_DCtx_get_bmi2' returns 0 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:145:42: note: Condition 'ZSTD_DCtx_get_bmi2(dctx)' is always false zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:988:9: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:988:9: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:988:9: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1080:9: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1080:9: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1080:9: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1240:31: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1240:31: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1240:31: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1250:35: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1250:35: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1250:35: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1275:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1275:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1275:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1277:23: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1277:23: note: Calling function 'MEM_64bits' returns 1 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1277:23: note: Condition 'MEM_64bits()' is always true zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1285:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1285:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1285:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1293:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1293:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1293:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1497:19: style: Condition 'nbSeq>0' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1469:23: note: Assuming that condition 'nbSeq>0' is not redundant zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1497:19: note: Condition 'nbSeq>0' is always false zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:2033:19: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:2033:19: note: Calling function 'MEM_64bits' returns 1 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:2033:19: note: Condition 'MEM_64bits()' is always true zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:2133:48: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:2133:48: note: Calling function 'MEM_64bits' returns 1 zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:2133:48: note: Condition 'MEM_64bits()' is always true zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1372:11: style: struct member 'seqStore_t::buffer' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1373:11: style: struct member 'seqStore_t::offsetStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1374:11: style: struct member 'seqStore_t::offset' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1375:11: style: struct member 'seqStore_t::offCodeStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1376:11: style: struct member 'seqStore_t::offCode' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1377:11: style: struct member 'seqStore_t::litStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1378:11: style: struct member 'seqStore_t::lit' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1379:11: style: struct member 'seqStore_t::litLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1380:11: style: struct member 'seqStore_t::litLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1381:11: style: struct member 'seqStore_t::matchLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1382:11: style: struct member 'seqStore_t::matchLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1383:11: style: struct member 'seqStore_t::dumpsStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1384:11: style: struct member 'seqStore_t::dumps' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1390:17: style: struct member 'ZSTD_Cctx_s::base' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1391:9: style: struct member 'ZSTD_Cctx_s::current' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1392:9: style: struct member 'ZSTD_Cctx_s::nextUpdate' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1393:16: style: struct member 'ZSTD_Cctx_s::seqStore' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1397:9: style: struct member 'ZSTD_Cctx_s::hashTable' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1399:10: style: struct member 'ZSTD_Cctx_s::buffer' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1615:19: style: Variable 'MLlog' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v01.c:1619:19: style: Variable 'MLlog' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:805:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:873:17: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:881:17: style: Variable 'oend_w' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:920:17: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:971:17: style: Variable 'oMatchEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:972:17: style: Variable 'oend_w' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1069:17: style: Variable 'oMatchEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress_block.c:1982:43: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:343:31: style:inconclusive: Function 'ZSTD_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2957:52: note: Function 'ZSTD_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:343:31: note: Function 'ZSTD_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:343:57: style:inconclusive: Function 'ZSTD_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2957:75: note: Function 'ZSTD_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:343:57: note: Function 'ZSTD_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1178:79: style:inconclusive: Function 'ZSTD_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:166:55: note: Function 'ZSTD_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1178:79: note: Function 'ZSTD_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1733:50: style:inconclusive: Function 'ZSTD_initDStream_usingDDict' argument 1 names different: declaration 'zds' definition 'dctx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2629:69: note: Function 'ZSTD_initDStream_usingDDict' argument 1 names different: declaration 'zds' definition 'dctx'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1733:50: note: Function 'ZSTD_initDStream_usingDDict' argument 1 names different: declaration 'zds' definition 'dctx'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1744:40: style:inconclusive: Function 'ZSTD_resetDStream' argument 1 names different: declaration 'zds' definition 'dctx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:2639:59: note: Function 'ZSTD_resetDStream' argument 1 names different: declaration 'zds' definition 'dctx'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1744:40: note: Function 'ZSTD_resetDStream' argument 1 names different: declaration 'zds' definition 'dctx'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1871:64: style:inconclusive: Function 'ZSTD_DCtx_setParameter' argument 2 names different: declaration 'param' definition 'dParam'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:648:76: note: Function 'ZSTD_DCtx_setParameter' argument 2 names different: declaration 'param' definition 'dParam'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1871:64: note: Function 'ZSTD_DCtx_setParameter' argument 2 names different: declaration 'param' definition 'dParam'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1925:48: style:inconclusive: Function 'ZSTD_sizeof_DStream' argument 1 names different: declaration 'zds' definition 'dctx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/zstd.h:1154:60: note: Function 'ZSTD_sizeof_DStream' argument 1 names different: declaration 'zds' definition 'dctx'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1925:48: note: Function 'ZSTD_sizeof_DStream' argument 1 names different: declaration 'zds' definition 'dctx'. zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:976:15: style: Variable 'oBlockEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1199:48: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1219:52: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1244:40: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1845:42: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1965:47: style: Parameter 'zds' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1978:55: style: Parameter 'zds' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:2007:49: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:1669:36: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] zstd-1.5.5.1/zstd/lib/decompress/zstd_decompress.c:726:12: error: Uninitialized variable: frameSizeInfo.nbBlocks [uninitvar] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1797:34: warning: Either the condition 'minWeight>1' is redundant or the array 'rankVal[17]' is accessed at index 17, which is out of bounds. [arrayIndexOutOfBoundsCond] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1795:18: note: Assuming that condition 'minWeight>1' is not redundant zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1797:34: note: Array index out of bounds zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:205:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:205:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:205:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2664:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2664:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2664:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2668:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2668:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2668:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2793:24: style:inconclusive: Boolean expression '!litLength' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1949:34: warning: Either the condition 'minWeight>1' is redundant or the array 'rankVal[17]' is accessed at index 17, which is out of bounds. [arrayIndexOutOfBoundsCond] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1947:18: note: Assuming that condition 'minWeight>1' is not redundant zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1949:34: note: Array index out of bounds zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1589:11: style: Redundant initialization for 'iSize'. The initialized value is overwritten before it is read. [redundantInitialization] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1579:18: note: iSize is initialized zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1589:11: note: iSize is overwritten zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1894:11: style: Redundant initialization for 'iSize'. The initialized value is overwritten before it is read. [redundantInitialization] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1886:18: note: iSize is initialized zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1894:11: note: iSize is overwritten zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2793:24: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:452:59: style:inconclusive: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:289:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:452:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:382:47: style: Parameter 'bitD' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:390:51: style: Parameter 'bitD' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1296:17: style: Variable 'omax' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1297:17: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1509:24: style: Variable 'l' can be declared as const array [constVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1640:92: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:1642:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2001:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2348:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2698:45: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:177:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:177:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:177:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2698:63: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2704:17: style: Variable 'oMatchEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2867:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:3008:55: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2531:20: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2531:20: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2531:20: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2787:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2787:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2787:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2791:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2791:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2791:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:125:23: style: union member 'Anonymous0::u' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2365:11: style: struct member 'seqStore_t::buffer' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2366:11: style: struct member 'seqStore_t::offsetStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2367:11: style: struct member 'seqStore_t::offset' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:718:59: style:inconclusive: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:560:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:718:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1108:67: style:inconclusive: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:433:68: note: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1108:67: note: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1109:30: style:inconclusive: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:433:122: note: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1109:30: note: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1109:51: style:inconclusive: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:433:138: note: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1109:51: note: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1339:60: style:inconclusive: Function 'FSE_decompress_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'originalSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:453:61: note: Function 'FSE_decompress_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'originalSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1339:60: note: Function 'FSE_decompress_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'originalSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1819:30: style:inconclusive: Function 'HUF_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1540:63: note: Function 'HUF_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1819:30: note: Function 'HUF_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2177:30: style:inconclusive: Function 'HUF_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1541:63: note: Function 'HUF_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2177:30: note: Function 'HUF_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3154:50: style:inconclusive: Function 'ZSTD_decompressContinue' argument 1 names different: declaration 'dctx' definition 'ctx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:239:50: note: Function 'ZSTD_decompressContinue' argument 1 names different: declaration 'dctx' definition 'ctx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3154:50: note: Function 'ZSTD_decompressContinue' argument 1 names different: declaration 'dctx' definition 'ctx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3230:74: style:inconclusive: Function 'ZSTD_decompress_insertDictionary' argument 2 names different: declaration 'src' definition 'dict'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:236:76: note: Function 'ZSTD_decompress_insertDictionary' argument 2 names different: declaration 'src' definition 'dict'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3230:74: note: Function 'ZSTD_decompress_insertDictionary' argument 2 names different: declaration 'src' definition 'dict'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3230:87: style:inconclusive: Function 'ZSTD_decompress_insertDictionary' argument 3 names different: declaration 'srcSize' definition 'dictSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:236:88: note: Function 'ZSTD_decompress_insertDictionary' argument 3 names different: declaration 'srcSize' definition 'dictSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3230:87: note: Function 'ZSTD_decompress_insertDictionary' argument 3 names different: declaration 'srcSize' definition 'dictSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3557:66: style:inconclusive: Function 'ZSTDv04_decompressDCtx' argument 3 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.h:65:49: note: Function 'ZSTDv04_decompressDCtx' argument 3 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3557:66: note: Function 'ZSTDv04_decompressDCtx' argument 3 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3557:102: style:inconclusive: Function 'ZSTDv04_decompressDCtx' argument 5 names different: declaration 'compressedSize' definition 'srcSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.h:66:49: note: Function 'ZSTDv04_decompressDCtx' argument 5 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3557:102: note: Function 'ZSTDv04_decompressDCtx' argument 5 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3562:45: style:inconclusive: Function 'ZSTDv04_decompress' argument 2 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.h:35:46: note: Function 'ZSTDv04_decompress' argument 2 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3562:45: note: Function 'ZSTDv04_decompress' argument 2 names different: declaration 'maxOriginalSize' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3562:81: style:inconclusive: Function 'ZSTDv04_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.h:36:46: note: Function 'ZSTDv04_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3562:81: note: Function 'ZSTDv04_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3595:75: style:inconclusive: Function 'ZBUFFv04_decompressWithDictionary' argument 2 names different: declaration 'dict' definition 'src'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.h:93:75: note: Function 'ZBUFFv04_decompressWithDictionary' argument 2 names different: declaration 'dict' definition 'src'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3595:75: note: Function 'ZBUFFv04_decompressWithDictionary' argument 2 names different: declaration 'dict' definition 'src'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3595:87: style:inconclusive: Function 'ZBUFFv04_decompressWithDictionary' argument 3 names different: declaration 'dictSize' definition 'srcSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.h:93:88: note: Function 'ZBUFFv04_decompressWithDictionary' argument 3 names different: declaration 'dictSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3595:87: note: Function 'ZBUFFv04_decompressWithDictionary' argument 3 names different: declaration 'dictSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2368:11: style: struct member 'seqStore_t::offCodeStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:351:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:648:47: style: Parameter 'bitD' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:656:51: style: Parameter 'bitD' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1276:17: style: Variable 'omax' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1277:17: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1663:24: style: Variable 'l' can be declared as const array [constVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1793:92: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:1795:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2152:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2818:45: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2826:17: style: Variable 'oMatchEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3023:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3149:55: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3387:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2369:11: style: struct member 'seqStore_t::offCode' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2370:11: style: struct member 'seqStore_t::litStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:3549:41: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2371:11: style: struct member 'seqStore_t::lit' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2372:11: style: struct member 'seqStore_t::litLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:96:23: style: union member 'Anonymous0::u' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:208:9: style: struct member 'ZSTD_parameters::srcSize' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2373:11: style: struct member 'seqStore_t::litLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:210:9: style: struct member 'ZSTD_parameters::contentLog' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2374:11: style: struct member 'seqStore_t::matchLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:211:9: style: struct member 'ZSTD_parameters::hashLog' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2375:11: style: struct member 'seqStore_t::matchLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:212:9: style: struct member 'ZSTD_parameters::searchLog' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:213:9: style: struct member 'ZSTD_parameters::searchLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2376:11: style: struct member 'seqStore_t::dumpsStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:214:19: style: struct member 'ZSTD_parameters::strategy' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2377:11: style: struct member 'seqStore_t::dumps' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2722:19: style: Variable 'MLlog' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v04.c:2726:19: style: Variable 'MLlog' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2595:19: style: Variable 'MLlog' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v03.c:2599:19: style: Variable 'MLlog' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1801:34: warning: Either the condition 'minWeight>1' is redundant or the array 'rankVal[17]' is accessed at index 17, which is out of bounds. [arrayIndexOutOfBoundsCond] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1799:18: note: Assuming that condition 'minWeight>1' is not redundant zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1801:34: note: Array index out of bounds zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2168:37: warning: Either the condition 'minWeight>1' is redundant or the array 'rankVal[17]' is accessed at index 17, which is out of bounds. [arrayIndexOutOfBoundsCond] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2165:18: note: Assuming that condition 'minWeight>1' is not redundant zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2168:37: note: Array index out of bounds zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2208:34: warning: Either the condition 'minWeight>1' is redundant or the array 'rankVal[17]' is accessed at index 17, which is out of bounds. [arrayIndexOutOfBoundsCond] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2207:18: note: Assuming that condition 'minWeight>1' is not redundant zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2208:34: note: Array index out of bounds zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:205:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:205:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:205:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3024:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3024:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3024:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3028:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3028:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3028:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:217:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:217:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:217:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2965:20: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2965:20: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2965:20: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3272:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3272:27: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3272:27: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3299:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3299:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3299:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3302:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3302:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3302:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3308:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3308:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3308:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1593:11: style: Redundant initialization for 'iSize'. The initialized value is overwritten before it is read. [redundantInitialization] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1583:18: note: iSize is initialized zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1593:11: note: iSize is overwritten zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1898:11: style: Redundant initialization for 'iSize'. The initialized value is overwritten before it is read. [redundantInitialization] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1890:18: note: iSize is initialized zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1898:11: note: iSize is overwritten zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2231:11: style: Redundant initialization for 'iSize'. The initialized value is overwritten before it is read. [redundantInitialization] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2226:18: note: iSize is initialized zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2231:11: note: iSize is overwritten zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:451:59: style:inconclusive: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:288:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:451:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:381:47: style: Parameter 'bitD' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:389:51: style: Parameter 'bitD' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1296:17: style: Variable 'omax' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1297:17: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1513:24: style: Variable 'l' can be declared as const array [constVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1644:92: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:1646:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2005:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2360:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2708:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3058:45: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3058:63: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3064:17: style: Variable 'oMatchEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3228:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:3368:55: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:124:23: style: union member 'Anonymous0::u' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:942:65: style:inconclusive: Function 'BITv06_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:794:65: note: Function 'BITv06_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:942:65: note: Function 'BITv06_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1215:63: style:inconclusive: Function 'FSEv06_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:662:63: note: Function 'FSEv06_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1215:63: note: Function 'FSEv06_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1216:30: style:inconclusive: Function 'FSEv06_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:662:117: note: Function 'FSEv06_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1216:30: note: Function 'FSEv06_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1216:51: style:inconclusive: Function 'FSEv06_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:662:133: note: Function 'FSEv06_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1216:51: note: Function 'FSEv06_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1587:56: style:inconclusive: Function 'FSEv06_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:680:56: note: Function 'FSEv06_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1587:56: note: Function 'FSEv06_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1601:44: style:inconclusive: Function 'FSEv06_decompress' argument 2 names different: declaration 'dstCapacity' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:624:45: note: Function 'FSEv06_decompress' argument 2 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1601:44: note: Function 'FSEv06_decompress' argument 2 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2045:30: style:inconclusive: Function 'HUFv06_decompress1X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1783:59: note: Function 'HUFv06_decompress1X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2045:30: note: Function 'HUFv06_decompress1X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2083:30: style:inconclusive: Function 'HUFv06_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1775:59: note: Function 'HUFv06_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2083:30: note: Function 'HUFv06_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2417:30: style:inconclusive: Function 'HUFv06_decompress1X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1784:59: note: Function 'HUFv06_decompress1X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2417:30: note: Function 'HUFv06_decompress1X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2459:30: style:inconclusive: Function 'HUFv06_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1776:59: note: Function 'HUFv06_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2459:30: note: Function 'HUFv06_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2808:37: style:inconclusive: Function 'ZSTDv06_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.h:102:54: note: Function 'ZSTDv06_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2808:37: note: Function 'ZSTDv06_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2808:66: style:inconclusive: Function 'ZSTDv06_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.h:102:80: note: Function 'ZSTDv06_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2808:66: note: Function 'ZSTDv06_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3575:85: style:inconclusive: Function 'ZSTDv06_decompress_usingPreparedDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'refDCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:284:84: note: Function 'ZSTDv06_decompress_usingPreparedDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'refDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3575:85: note: Function 'ZSTDv06_decompress_usingPreparedDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'refDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3596:45: style:inconclusive: Function 'ZSTDv06_decompressDCtx' argument 1 names different: declaration 'ctx' definition 'dctx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.h:78:60: note: Function 'ZSTDv06_decompressDCtx' argument 1 names different: declaration 'ctx' definition 'dctx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3596:45: note: Function 'ZSTDv06_decompressDCtx' argument 1 names different: declaration 'ctx' definition 'dctx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3602:82: style:inconclusive: Function 'ZSTDv06_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.h:43:61: note: Function 'ZSTDv06_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3602:82: note: Function 'ZSTDv06_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3933:41: style:inconclusive: Function 'ZBUFFv06_freeDCtx' argument 1 names different: declaration 'dctx' definition 'zbd'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.h:115:64: note: Function 'ZBUFFv06_freeDCtx' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3933:41: note: Function 'ZBUFFv06_freeDCtx' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3946:57: style:inconclusive: Function 'ZBUFFv06_decompressInitDictionary' argument 1 names different: declaration 'dctx' definition 'zbd'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.h:118:72: note: Function 'ZBUFFv06_decompressInitDictionary' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3946:57: note: Function 'ZBUFFv06_decompressInitDictionary' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3953:47: style:inconclusive: Function 'ZBUFFv06_decompressInit' argument 1 names different: declaration 'dctx' definition 'zbd'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.h:117:62: note: Function 'ZBUFFv06_decompressInit' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3953:47: note: Function 'ZBUFFv06_decompressInit' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3972:51: style:inconclusive: Function 'ZBUFFv06_decompressContinue' argument 1 names different: declaration 'dctx' definition 'zbd'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.h:120:66: note: Function 'ZBUFFv06_decompressContinue' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3972:51: note: Function 'ZBUFFv06_decompressContinue' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:500:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:1527:17: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2021:98: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2023:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:2392:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3314:45: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3320:17: style: Variable 'oMatchEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3520:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3678:54: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:3980:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:4113:45: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2725:11: style: struct member 'seqStore_t::buffer' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2726:11: style: struct member 'seqStore_t::offsetStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2727:11: style: struct member 'seqStore_t::offset' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2728:11: style: struct member 'seqStore_t::offCodeStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:117:23: style: union member 'Anonymous0::u' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2729:11: style: struct member 'seqStore_t::offCode' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:512:9: style: struct member 'ZSTDv06_match_t::off' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2730:11: style: struct member 'seqStore_t::litStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:513:9: style: struct member 'ZSTDv06_match_t::len' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2731:11: style: struct member 'seqStore_t::lit' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2732:11: style: struct member 'seqStore_t::litLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:517:9: style: struct member 'ZSTDv06_optimal_t::price' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2733:11: style: struct member 'seqStore_t::litLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:518:9: style: struct member 'ZSTDv06_optimal_t::off' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2734:11: style: struct member 'seqStore_t::matchLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:519:9: style: struct member 'ZSTDv06_optimal_t::mlen' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2735:11: style: struct member 'seqStore_t::matchLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:520:9: style: struct member 'ZSTDv06_optimal_t::litlen' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2736:11: style: struct member 'seqStore_t::dumpsStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:521:9: style: struct member 'ZSTDv06_optimal_t::rep' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2737:11: style: struct member 'seqStore_t::dumps' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:524:23: style: struct member 'ZSTDv06_stats_t::unused' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:527:11: style: struct member 'seqStore_t::buffer' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:528:11: style: struct member 'seqStore_t::offsetStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:529:11: style: struct member 'seqStore_t::offset' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:530:11: style: struct member 'seqStore_t::offCodeStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:531:11: style: struct member 'seqStore_t::litStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:532:11: style: struct member 'seqStore_t::lit' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2955:19: style: Variable 'MLlog' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:533:11: style: struct member 'seqStore_t::litLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v02.c:2959:19: style: Variable 'MLlog' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:534:11: style: struct member 'seqStore_t::litLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:535:11: style: struct member 'seqStore_t::llCodeStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:536:11: style: struct member 'seqStore_t::matchLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:537:11: style: struct member 'seqStore_t::matchLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:538:11: style: struct member 'seqStore_t::mlCodeStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:539:11: style: struct member 'seqStore_t::longLengthID' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:540:11: style: struct member 'seqStore_t::longLengthPos' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:542:24: style: struct member 'seqStore_t::priceTable' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:543:22: style: struct member 'seqStore_t::matchTable' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:544:10: style: struct member 'seqStore_t::matchLengthFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:545:10: style: struct member 'seqStore_t::litLengthFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:546:10: style: struct member 'seqStore_t::litFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:547:10: style: struct member 'seqStore_t::offCodeFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:548:10: style: struct member 'seqStore_t::matchLengthSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:549:10: style: struct member 'seqStore_t::matchSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:550:10: style: struct member 'seqStore_t::litLengthSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:551:10: style: struct member 'seqStore_t::litSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:552:10: style: struct member 'seqStore_t::offCodeSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:553:10: style: struct member 'seqStore_t::log2matchLengthSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:554:10: style: struct member 'seqStore_t::log2matchSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:555:10: style: struct member 'seqStore_t::log2litLengthSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:556:10: style: struct member 'seqStore_t::log2litSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:557:10: style: struct member 'seqStore_t::log2offCodeSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:558:10: style: struct member 'seqStore_t::factor' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:559:10: style: struct member 'seqStore_t::cachedPrice' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:560:10: style: struct member 'seqStore_t::cachedLitLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:561:17: style: struct member 'seqStore_t::cachedLiterals' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v06.c:562:21: style: struct member 'seqStore_t::stats' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3128:24: style:inconclusive: Boolean expression '!litLength' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2072:34: warning: Either the condition 'minWeight>1' is redundant or the array 'rankVal[17]' is accessed at index 17, which is out of bounds. [arrayIndexOutOfBoundsCond] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2071:18: note: Assuming that condition 'minWeight>1' is not redundant zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2072:34: note: Array index out of bounds zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3128:24: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2773:20: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2773:20: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2773:20: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3126:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3126:23: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3126:23: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3134:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3134:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3134:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3689:24: style: Condition 'ZSTDv05_isError(errorCode)' is always true [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3689:24: note: Calling function 'ZSTDv05_isError' returns 1 zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3689:24: note: Condition 'ZSTDv05_isError(errorCode)' is always true zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:837:65: style:inconclusive: Function 'BITv05_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:687:65: note: Function 'BITv05_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:837:65: note: Function 'BITv05_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1230:63: style:inconclusive: Function 'FSEv05_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:586:63: note: Function 'FSEv05_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1230:63: note: Function 'FSEv05_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1231:30: style:inconclusive: Function 'FSEv05_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:586:117: note: Function 'FSEv05_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1231:30: note: Function 'FSEv05_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1231:51: style:inconclusive: Function 'FSEv05_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:586:133: note: Function 'FSEv05_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1231:51: note: Function 'FSEv05_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1440:56: style:inconclusive: Function 'FSEv05_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:608:56: note: Function 'FSEv05_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1440:56: note: Function 'FSEv05_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1905:30: style:inconclusive: Function 'HUFv05_decompress1X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1639:59: note: Function 'HUFv05_decompress1X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1905:30: note: Function 'HUFv05_decompress1X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1945:30: style:inconclusive: Function 'HUFv05_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1630:59: note: Function 'HUFv05_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1945:30: note: Function 'HUFv05_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2284:30: style:inconclusive: Function 'HUFv05_decompress1X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1640:59: note: Function 'HUFv05_decompress1X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2284:30: note: Function 'HUFv05_decompress1X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2327:30: style:inconclusive: Function 'HUFv05_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1631:59: note: Function 'HUFv05_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2327:30: note: Function 'HUFv05_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3435:85: style:inconclusive: Function 'ZSTDv05_decompress_usingPreparedDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'refDCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:270:86: note: Function 'ZSTDv05_decompress_usingPreparedDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'refDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3435:85: note: Function 'ZSTDv05_decompress_usingPreparedDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'refDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3436:60: style:inconclusive: Function 'ZSTDv05_decompress_usingPreparedDCtx' argument 4 names different: declaration 'dstCapacity' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:271:64: note: Function 'ZSTDv05_decompress_usingPreparedDCtx' argument 4 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3436:60: note: Function 'ZSTDv05_decompress_usingPreparedDCtx' argument 4 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3446:52: style:inconclusive: Function 'ZSTDv05_decompress_usingDict' argument 3 names different: declaration 'dstCapacity' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:78:63: note: Function 'ZSTDv05_decompress_usingDict' argument 3 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3446:52: note: Function 'ZSTDv05_decompress_usingDict' argument 3 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3456:45: style:inconclusive: Function 'ZSTDv05_decompressDCtx' argument 1 names different: declaration 'ctx' definition 'dctx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:67:45: note: Function 'ZSTDv05_decompressDCtx' argument 1 names different: declaration 'ctx' definition 'dctx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3456:45: note: Function 'ZSTDv05_decompressDCtx' argument 1 names different: declaration 'ctx' definition 'dctx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3456:69: style:inconclusive: Function 'ZSTDv05_decompressDCtx' argument 3 names different: declaration 'dstCapacity' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:67:68: note: Function 'ZSTDv05_decompressDCtx' argument 3 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3456:69: note: Function 'ZSTDv05_decompressDCtx' argument 3 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3461:45: style:inconclusive: Function 'ZSTDv05_decompress' argument 2 names different: declaration 'dstCapacity' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:33:46: note: Function 'ZSTDv05_decompress' argument 2 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3461:45: note: Function 'ZSTDv05_decompress' argument 2 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3461:81: style:inconclusive: Function 'ZSTDv05_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:34:46: note: Function 'ZSTDv05_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3461:81: note: Function 'ZSTDv05_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3537:73: style:inconclusive: Function 'ZSTDv05_decompressContinue' argument 3 names different: declaration 'dstCapacity' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:96:73: note: Function 'ZSTDv05_decompressContinue' argument 3 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3537:73: note: Function 'ZSTDv05_decompressContinue' argument 3 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3813:41: style:inconclusive: Function 'ZBUFFv05_freeDCtx' argument 1 names different: declaration 'dctx' definition 'zbc'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:104:49: note: Function 'ZBUFFv05_freeDCtx' argument 1 names different: declaration 'dctx' definition 'zbc'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3813:41: note: Function 'ZBUFFv05_freeDCtx' argument 1 names different: declaration 'dctx' definition 'zbc'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3826:57: style:inconclusive: Function 'ZBUFFv05_decompressInitDictionary' argument 1 names different: declaration 'dctx' definition 'zbc'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:107:57: note: Function 'ZBUFFv05_decompressInitDictionary' argument 1 names different: declaration 'dctx' definition 'zbc'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3826:57: note: Function 'ZBUFFv05_decompressInitDictionary' argument 1 names different: declaration 'dctx' definition 'zbc'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3833:47: style:inconclusive: Function 'ZBUFFv05_decompressInit' argument 1 names different: declaration 'dctx' definition 'zbc'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:106:47: note: Function 'ZBUFFv05_decompressInit' argument 1 names different: declaration 'dctx' definition 'zbc'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3833:47: note: Function 'ZBUFFv05_decompressInit' argument 1 names different: declaration 'dctx' definition 'zbc'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3841:51: style:inconclusive: Function 'ZBUFFv05_decompressContinue' argument 1 names different: declaration 'dctx' definition 'zbc'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:109:51: note: Function 'ZBUFFv05_decompressContinue' argument 1 names different: declaration 'dctx' definition 'zbc'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3841:51: note: Function 'ZBUFFv05_decompressContinue' argument 1 names different: declaration 'dctx' definition 'zbc'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3841:75: style:inconclusive: Function 'ZBUFFv05_decompressContinue' argument 3 names different: declaration 'dstCapacityPtr' definition 'maxDstSizePtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.h:110:64: note: Function 'ZBUFFv05_decompressContinue' argument 3 names different: declaration 'dstCapacityPtr' definition 'maxDstSizePtr'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3841:75: note: Function 'ZBUFFv05_decompressContinue' argument 3 names different: declaration 'dstCapacityPtr' definition 'maxDstSizePtr'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:461:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:770:53: style: Parameter 'bitD' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:778:57: style: Parameter 'bitD' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:959:52: style: Parameter 'DStatePtr' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1379:17: style: Variable 'omax' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1380:17: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1759:24: style: Variable 'l' can be declared as const array [constVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1881:98: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:1883:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:2259:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3172:45: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3180:17: style: Variable 'oMatchEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3378:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3532:54: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3848:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:4004:45: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:472:11: style: struct member 'seqStore_t::buffer' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:473:11: style: struct member 'seqStore_t::offsetStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:474:11: style: struct member 'seqStore_t::offset' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:475:11: style: struct member 'seqStore_t::offCodeStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:476:11: style: struct member 'seqStore_t::offCode' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:477:11: style: struct member 'seqStore_t::litStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:478:11: style: struct member 'seqStore_t::lit' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:479:11: style: struct member 'seqStore_t::litLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:480:11: style: struct member 'seqStore_t::litLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:481:11: style: struct member 'seqStore_t::matchLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:482:11: style: struct member 'seqStore_t::matchLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:483:11: style: struct member 'seqStore_t::dumpsStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:484:11: style: struct member 'seqStore_t::dumps' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:486:10: style: struct member 'seqStore_t::matchLengthFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:487:10: style: struct member 'seqStore_t::litLengthFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:488:10: style: struct member 'seqStore_t::litFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:489:10: style: struct member 'seqStore_t::offCodeFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:490:10: style: struct member 'seqStore_t::matchLengthSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:491:10: style: struct member 'seqStore_t::litLengthSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:492:10: style: struct member 'seqStore_t::litSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:493:10: style: struct member 'seqStore_t::offCodeSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3046:19: style: Variable 'MLlog' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v05.c:3051:19: style: Variable 'MLlog' is assigned a value that is never used. [unreadVariable] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3507:31: style:inconclusive: Boolean expression 'llCode==0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2016:34: warning: Either the condition 'minWeight>1' is redundant or the array 'rankVal[17]' is accessed at index 17, which is out of bounds. [arrayIndexOutOfBoundsCond] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2015:18: note: Assuming that condition 'minWeight>1' is not redundant zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2016:34: note: Array index out of bounds zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:376:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:376:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:376:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3503:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3503:27: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3503:27: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3525:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3525:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3525:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3528:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3528:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3528:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3534:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3534:19: note: Calling function 'MEM_32bits' returns 0 zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3534:19: note: Condition 'MEM_32bits()' is always false zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:611:65: style:inconclusive: Function 'BITv07_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:465:65: note: Function 'BITv07_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:611:65: note: Function 'BITv07_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1160:63: style:inconclusive: Function 'FSEv07_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:708:63: note: Function 'FSEv07_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1160:63: note: Function 'FSEv07_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1161:30: style:inconclusive: Function 'FSEv07_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:708:117: note: Function 'FSEv07_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1161:30: note: Function 'FSEv07_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1161:51: style:inconclusive: Function 'FSEv07_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:708:133: note: Function 'FSEv07_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1161:51: note: Function 'FSEv07_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1608:56: style:inconclusive: Function 'FSEv07_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:726:56: note: Function 'FSEv07_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1608:56: note: Function 'FSEv07_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1622:44: style:inconclusive: Function 'FSEv07_decompress' argument 2 names different: declaration 'dstCapacity' definition 'maxDstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:677:45: note: Function 'FSEv07_decompress' argument 2 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1622:44: note: Function 'FSEv07_decompress' argument 2 names different: declaration 'dstCapacity' definition 'maxDstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1845:30: style:inconclusive: Function 'HUFv07_decompress1X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1091:59: note: Function 'HUFv07_decompress1X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1845:30: note: Function 'HUFv07_decompress1X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1854:50: style:inconclusive: Function 'HUFv07_decompress1X2_DCtx' argument 1 names different: declaration 'dctx' definition 'DCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1040:49: note: Function 'HUFv07_decompress1X2_DCtx' argument 1 names different: declaration 'dctx' definition 'DCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1854:50: note: Function 'HUFv07_decompress1X2_DCtx' argument 1 names different: declaration 'dctx' definition 'DCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1967:30: style:inconclusive: Function 'HUFv07_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1082:59: note: Function 'HUFv07_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1967:30: note: Function 'HUFv07_decompress4X2_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2257:30: style:inconclusive: Function 'HUFv07_decompress1X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1092:59: note: Function 'HUFv07_decompress1X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2257:30: note: Function 'HUFv07_decompress1X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2266:50: style:inconclusive: Function 'HUFv07_decompress1X4_DCtx' argument 1 names different: declaration 'dctx' definition 'DCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1041:49: note: Function 'HUFv07_decompress1X4_DCtx' argument 1 names different: declaration 'dctx' definition 'DCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2266:50: note: Function 'HUFv07_decompress1X4_DCtx' argument 1 names different: declaration 'dctx' definition 'DCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2378:30: style:inconclusive: Function 'HUFv07_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1083:59: note: Function 'HUFv07_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2378:30: note: Function 'HUFv07_decompress4X4_usingDTable' argument 2 names different: declaration 'maxDstSize' definition 'dstSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2959:37: style:inconclusive: Function 'ZSTDv07_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:91:54: note: Function 'ZSTDv07_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2959:37: note: Function 'ZSTDv07_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2959:66: style:inconclusive: Function 'ZSTDv07_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:91:80: note: Function 'ZSTDv07_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2959:66: note: Function 'ZSTDv07_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3839:45: style:inconclusive: Function 'ZSTDv07_decompressDCtx' argument 1 names different: declaration 'ctx' definition 'dctx'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.h:80:60: note: Function 'ZSTDv07_decompressDCtx' argument 1 names different: declaration 'ctx' definition 'dctx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3839:45: note: Function 'ZSTDv07_decompressDCtx' argument 1 names different: declaration 'ctx' definition 'dctx'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3845:82: style:inconclusive: Function 'ZSTDv07_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.h:50:61: note: Function 'ZSTDv07_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3845:82: note: Function 'ZSTDv07_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:4313:41: style:inconclusive: Function 'ZBUFFv07_freeDCtx' argument 1 names different: declaration 'dctx' definition 'zbd'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.h:131:61: note: Function 'ZBUFFv07_freeDCtx' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:4313:41: note: Function 'ZBUFFv07_freeDCtx' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:4326:57: style:inconclusive: Function 'ZBUFFv07_decompressInitDictionary' argument 1 names different: declaration 'dctx' definition 'zbd'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.h:134:72: note: Function 'ZBUFFv07_decompressInitDictionary' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:4326:57: note: Function 'ZBUFFv07_decompressInitDictionary' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:4333:47: style:inconclusive: Function 'ZBUFFv07_decompressInit' argument 1 names different: declaration 'dctx' definition 'zbd'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.h:133:62: note: Function 'ZBUFFv07_decompressInit' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:4333:47: note: Function 'ZBUFFv07_decompressInit' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:4352:51: style:inconclusive: Function 'ZBUFFv07_decompressContinue' argument 1 names different: declaration 'dctx' definition 'zbd'. [funcArgNamesDifferent] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.h:136:66: note: Function 'ZBUFFv07_decompressContinue' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:4352:51: note: Function 'ZBUFFv07_decompressContinue' argument 1 names different: declaration 'dctx' definition 'zbd'. zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1548:17: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1797:98: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:1799:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2204:17: style: Variable 'pStart' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2734:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3543:45: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3549:17: style: Variable 'oMatchEnd' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3755:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3928:54: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:3933:39: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:4360:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:4498:45: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:277:23: style: union member 'Anonymous0::u' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2747:9: style: struct member 'ZSTDv07_match_t::off' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2748:9: style: struct member 'ZSTDv07_match_t::len' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2752:9: style: struct member 'ZSTDv07_optimal_t::price' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2753:9: style: struct member 'ZSTDv07_optimal_t::off' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2754:9: style: struct member 'ZSTDv07_optimal_t::mlen' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2755:9: style: struct member 'ZSTDv07_optimal_t::litlen' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2756:9: style: struct member 'ZSTDv07_optimal_t::rep' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2759:30: style: struct member 'ZSTDv07_stats_s::unused' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2762:11: style: struct member 'seqStore_t::buffer' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2763:11: style: struct member 'seqStore_t::offsetStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2764:11: style: struct member 'seqStore_t::offset' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2765:11: style: struct member 'seqStore_t::offCodeStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2766:11: style: struct member 'seqStore_t::litStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2767:11: style: struct member 'seqStore_t::lit' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2768:11: style: struct member 'seqStore_t::litLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2769:11: style: struct member 'seqStore_t::litLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2770:11: style: struct member 'seqStore_t::llCodeStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2771:11: style: struct member 'seqStore_t::matchLengthStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2772:11: style: struct member 'seqStore_t::matchLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2773:11: style: struct member 'seqStore_t::mlCodeStart' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2774:11: style: struct member 'seqStore_t::longLengthID' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2775:11: style: struct member 'seqStore_t::longLengthPos' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2777:24: style: struct member 'seqStore_t::priceTable' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2778:22: style: struct member 'seqStore_t::matchTable' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2779:10: style: struct member 'seqStore_t::matchLengthFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2780:10: style: struct member 'seqStore_t::litLengthFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2781:10: style: struct member 'seqStore_t::litFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2782:10: style: struct member 'seqStore_t::offCodeFreq' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2783:10: style: struct member 'seqStore_t::matchLengthSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2784:10: style: struct member 'seqStore_t::matchSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2785:10: style: struct member 'seqStore_t::litLengthSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2786:10: style: struct member 'seqStore_t::litSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2787:10: style: struct member 'seqStore_t::offCodeSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2788:10: style: struct member 'seqStore_t::log2matchLengthSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2789:10: style: struct member 'seqStore_t::log2matchSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2790:10: style: struct member 'seqStore_t::log2litLengthSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2791:10: style: struct member 'seqStore_t::log2litSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2792:10: style: struct member 'seqStore_t::log2offCodeSum' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2793:10: style: struct member 'seqStore_t::factor' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2794:10: style: struct member 'seqStore_t::cachedPrice' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2795:10: style: struct member 'seqStore_t::cachedLitLength' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2796:17: style: struct member 'seqStore_t::cachedLiterals' is never used. [unusedStructMember] zstd-1.5.5.1/zstd/lib/legacy/zstd_v07.c:2797:21: style: struct member 'seqStore_t::stats' is never used. [unusedStructMember] diff: head zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:953:40: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] head zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:953:58: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] head zstd-1.5.5.1/zstd/lib/compress/zstdmt_compress.c:953:77: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] DONE