Newly introduced defects

List of Defects

Error: CLANG_WARNING: [#def1]
zstd-1.5.6/lib/compress/zstd_compress_superblock.c:611:13: warning[deadcode.DeadStores]: Value stored to 'lp' is never read
#  609|               assert(ip + decompressedSize <= iend);
#  610|               ip += decompressedSize;
#  611|->             lp += litSize;
#  612|               op += cSize;
#  613|               llCodePtr += seqCount;

Error: CLANG_WARNING: [#def2]
zstd-1.5.6/lib/compress/zstd_compress_superblock.c:613:13: warning[deadcode.DeadStores]: Value stored to 'llCodePtr' is never read
#  611|               lp += litSize;
#  612|               op += cSize;
#  613|->             llCodePtr += seqCount;
#  614|               mlCodePtr += seqCount;
#  615|               ofCodePtr += seqCount;

Error: CLANG_WARNING: [#def3]
zstd-1.5.6/lib/compress/zstd_compress_superblock.c:614:13: warning[deadcode.DeadStores]: Value stored to 'mlCodePtr' is never read
#  612|               op += cSize;
#  613|               llCodePtr += seqCount;
#  614|->             mlCodePtr += seqCount;
#  615|               ofCodePtr += seqCount;
#  616|               /* Entropy only needs to be written once */

Error: CLANG_WARNING: [#def4]
zstd-1.5.6/lib/compress/zstd_compress_superblock.c:615:13: warning[deadcode.DeadStores]: Value stored to 'ofCodePtr' is never read
#  613|               llCodePtr += seqCount;
#  614|               mlCodePtr += seqCount;
#  615|->             ofCodePtr += seqCount;
#  616|               /* Entropy only needs to be written once */
#  617|               if (litEntropyWritten) {

Error: CLANG_WARNING: [#def5]
zstd-1.5.6/lib/compress/zstd_opt.c:1373:17: warning[deadcode.DeadStores]: Value stored to 'storeStart' during its initialization is never read
# 1371|            */
# 1372|           {   U32 const storeEnd = cur + 2;
# 1373|->             U32 storeStart = storeEnd;
# 1374|               U32 stretchPos = cur;
# 1375|   

Scan Properties

analyzer-version-clang18.1.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.3
diffbase-analyzer-version-cppcheck2.13.0
diffbase-analyzer-version-gcc14.0.1
diffbase-analyzer-version-gcc-analyzer14.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-63.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namezstd-1.5.5-5.fc40
diffbase-store-results-to/tmp/tmp11u47pfj/zstd-1.5.5-5.fc40.tar.xz
diffbase-time-created2024-04-22 11:21:40
diffbase-time-finished2024-04-22 11:27:45
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp11u47pfj/zstd-1.5.5-5.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp11u47pfj/zstd-1.5.5-5.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-63.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namezstd-1.5.6-1.fc41
store-results-to/tmp/tmp7oql940n/zstd-1.5.6-1.fc41.tar.xz
time-created2024-04-22 11:28:00
time-finished2024-04-22 11:34:02
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp7oql940n/zstd-1.5.6-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp7oql940n/zstd-1.5.6-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9