python-simplejson-3.19.2-4.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
python-simplejson-3.19.2-build/simplejson-3.19.2/simplejson/_speedups.c:1069:16: warning[deadcode.DeadStores]: Value stored to 'next' during its initialization is never read
# 1067|       PyObject *rval;
# 1068|       Py_ssize_t begin = end - 1;
# 1069|->     Py_ssize_t next = begin;
# 1070|       PY2_UNUSED int kind = PyUnicode_KIND(pystr);
# 1071|       Py_ssize_t len = PyUnicode_GET_LENGTH(pystr);

Error: CLANG_WARNING: [#def2]
python-simplejson-3.19.2-build/simplejson-3.19.2/simplejson/_speedups.c:1199:25: warning[deadcode.DeadStores]: Value stored to 'next' is never read
# 1197|                           /* not a low surrogate, rewind */
# 1198|                           end -= 6;
# 1199|->                         next = end;
# 1200|                       }
# 1201|                       else {

Error: CLANG_WARNING: [#def3]
python-simplejson-3.19.2-build/simplejson-3.19.2/simplejson/_speedups.c:3084:9: warning[deadcode.DeadStores]: Value stored to 'indent_level' is never read
# 3082|       if (s->indent != Py_None) {
# 3083|           /* TODO: DOES NOT RUN */
# 3084|->         indent_level -= 1;
# 3085|           /*
# 3086|               yield '\n' + (_indent * _current_indent_level)

Error: CLANG_WARNING: [#def4]
python-simplejson-3.19.2-build/simplejson-3.19.2/simplejson/_speedups.c:3182:9: warning[deadcode.DeadStores]: Value stored to 'indent_level' is never read
# 3180|       if (s->indent != Py_None) {
# 3181|           /* TODO: DOES NOT RUN */
# 3182|->         indent_level -= 1;
# 3183|           /*
# 3184|               yield '\n' + (_indent * _current_indent_level)

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-250.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namepython-simplejson-3.19.2-4.fc41
store-results-to/tmp/tmp5hrnn8v9/python-simplejson-3.19.2-4.fc41.tar.xz
time-created2024-07-03 17:30:31
time-finished2024-07-03 17:31:30
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp5hrnn8v9/python-simplejson-3.19.2-4.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp5hrnn8v9/python-simplejson-3.19.2-4.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9