Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
ostree-ext/src/cli.rs:1137:21: warning: unneeded late initialization
#       |
#  1137 |                     let json: String;
#       |                     ^^^^^^^^^^^^^^^^^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init
#       = note: `#[warn(clippy::needless_late_init)]` on by default
#  help: move the declaration `json` here and remove the assignments from the branches
#       |
#  1137 ~                     
#  1138 ~                     let json: String = if config {
#  1139 ~                         to_canonical_json_string(&image.configuration)?
#  1140 |                     } else {
#  1141 ~                         to_canonical_json_string(&image.manifest)?
#  1142 ~                     };
#       |

Scan Properties

analyzer-version-clippy1.87.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.1.1
analyzer-version-gcc-analyzer15.1.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.87.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.1.1
diffbase-analyzer-version-gcc-analyzer15.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-201.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namebootc-202505292145.g3c86c7fbf3-1
diffbase-store-results-to/tmp/tmp_sgcrgvd/bootc-202505292145.g3c86c7fbf3-1.tar.xz
diffbase-time-created2025-06-02 23:09:26
diffbase-time-finished2025-06-02 23:17:04
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmp_sgcrgvd/bootc-202505292145.g3c86c7fbf3-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp_sgcrgvd/bootc-202505292145.g3c86c7fbf3-1.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250522.153104.ga728c5b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-201.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namebootc-202506022233.g6865a9936a-1
store-results-to/tmp/tmp7atk6lzb/bootc-202506022233.g6865a9936a-1.tar.xz
time-created2025-06-02 23:17:38
time-finished2025-06-02 23:24:50
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmp7atk6lzb/bootc-202506022233.g6865a9936a-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp7atk6lzb/bootc-202506022233.g6865a9936a-1.src.rpm'
tool-versioncsmock-3.8.1.20250522.153104.ga728c5b-1.el9