Newly introduced defects

List of Defects

Error: CLANG_WARNING: [#def1]
wireplumber-0.5.5-build/wireplumber-0.5.5/lib/wp/log.c:790:17: warning[deadcode.DeadStores]: Although the value stored to 'full_message' is used in the enclosing expression, the value is never actually read from 'full_message'
#  788|             file, lf->line, lf->func, message);
#  789|       } else {
#  790|->       message = full_message = g_strdup_printf("%c %s%s%s",
#  791|             log_level_info[lf->log_level].name,
#  792|             lf->log_topic ? lf->log_topic : "",

Error: CLANG_WARNING: [#def2]
wireplumber-0.5.5-build/wireplumber-0.5.5/lib/wp/log.c:797:15: warning[deadcode.DeadStores]: Although the value stored to 'full_message' is used in the enclosing expression, the value is never actually read from 'full_message'
#  795|       }
#  796|     } else if (lf->log_topic) {
#  797|->     message = full_message = g_strdup_printf("%s: %s", lf->log_topic, message);
#  798|     }
#  799|   

Error: CLANG_WARNING: [#def3]
wireplumber-0.5.5-build/wireplumber-0.5.5/lib/wp/log.c:860:19: warning[deadcode.DeadStores]: Although the value stored to 'full_message' is used in the enclosing expression, the value is never actually read from 'full_message'
#  858|     /* format the message to include the object */
#  859|     if (lf->object_type) {
#  860|->     lf->message = full_message = wp_log_fields_format_message (lf);
#  861|     }
#  862|   

Error: CPPCHECK_WARNING: [#def4]
wireplumber-0.5.5-build/wireplumber-0.5.5/src/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

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
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-117.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namewireplumber-0.5.0-2.fc40
diffbase-store-results-to/tmp/tmpfbty2bwo/wireplumber-0.5.0-2.fc40.tar.xz
diffbase-time-created2024-07-03 19:42:42
diffbase-time-finished2024-07-03 19:45:26
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpfbty2bwo/wireplumber-0.5.0-2.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpfbty2bwo/wireplumber-0.5.0-2.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-117.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namewireplumber-0.5.5-1.fc41
store-results-to/tmp/tmp5k5qxki8/wireplumber-0.5.5-1.fc41.tar.xz
time-created2024-07-03 19:45:46
time-finished2024-07-03 19:48:03
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp5k5qxki8/wireplumber-0.5.5-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp5k5qxki8/wireplumber-0.5.5-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9