osinfo-db-tools-1.11.0-6.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
osinfo-db-tools-1.11.0-build/osinfo-db-tools-1.11.0/tools/osinfo-db-export.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
osinfo-db-tools-1.11.0-build/osinfo-db-tools-1.11.0/tools/osinfo-db-export.c:389:10: warning[deadcode.DeadStores]: Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'
#  387|           target = NULL;
#  388|   
#  389|->     if ((r = archive_write_open_filename(arc, target)) != ARCHIVE_OK) {
#  390|           g_printerr("%s: cannot open archive %s: %s\n",
#  391|                      argv0, target, archive_error_string(arc));

Error: CPPCHECK_WARNING: [#def3]
osinfo-db-tools-1.11.0-build/osinfo-db-tools-1.11.0/tools/osinfo-db-import.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4]
osinfo-db-tools-1.11.0-build/osinfo-db-tools-1.11.0/tools/osinfo-db-import.c:396:10: warning[deadcode.DeadStores]: Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'
#  394|       }
#  395|   
#  396|->     if ((r = archive_read_open_filename(arc, source_file, 10240)) != ARCHIVE_OK) {
#  397|           g_printerr("%s: cannot open archive %s: %s\n",
#  398|                      argv0, source_file, archive_error_string(arc));

Error: CPPCHECK_WARNING: [#def5]
osinfo-db-tools-1.11.0-build/osinfo-db-tools-1.11.0/tools/osinfo-db-path.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def6]
osinfo-db-tools-1.11.0-build/osinfo-db-tools-1.11.0/tools/osinfo-db-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def7]
osinfo-db-tools-1.11.0-build/osinfo-db-tools-1.11.0/tools/osinfo-db-validate.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
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-246.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameosinfo-db-tools-1.11.0-6.fc41
store-results-to/tmp/tmp79g1lmex/osinfo-db-tools-1.11.0-6.fc41.tar.xz
time-created2024-07-03 16:29:10
time-finished2024-07-03 16:30:30
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp79g1lmex/osinfo-db-tools-1.11.0-6.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp79g1lmex/osinfo-db-tools-1.11.0-6.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9