Fixed findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
src/ffi.rs:27:24: warning: `extern` declarations without an explicit ABI are deprecated
#     |
#  27 |     c_api_free: unsafe extern fn(*mut c_void),
#     |                        ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
#     |
#     = note: `#[warn(missing_abi)]` on by default

Error: CLIPPY_WARNING: [#def2]
src/ffi.rs:34:24: warning: `extern` declarations without an explicit ABI are deprecated
#     |
#  34 |     c_api_free: unsafe extern fn(*mut c_void),
#     |                        ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

Error: CLIPPY_WARNING: [#def3]
src/ffi.rs:428:85: warning: `extern` declarations without an explicit ABI are deprecated
#      |
#  428 | pub extern "C" fn liq_attr_create_with_allocator(_unused: *mut c_void, free: unsafe extern fn(*mut c_void)) -> Option<Box<liq_attr>> {
#      |                                                                                     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.90.0
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer16.0.0
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-81.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-gcc-latest-x86_64
diffbase-project-namerust-imagequant-sys-4.1.0-1.fc44
diffbase-store-results-to/tmp/tmpll8a_ae1/rust-imagequant-sys-4.1.0-1.fc44.tar.xz
diffbase-time-created2025-10-28 20:31:36
diffbase-time-finished2025-10-28 20:33:12
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpll8a_ae1/rust-imagequant-sys-4.1.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpll8a_ae1/rust-imagequant-sys-4.1.0-1.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-81.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-gcc-latest-x86_64
project-namerust-imagequant-sys-4.0.3-8.fc43
store-results-to/tmp/tmpcz4lopad/rust-imagequant-sys-4.0.3-8.fc43.tar.xz
time-created2025-10-28 20:29:12
time-finished2025-10-28 20:31:26
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpcz4lopad/rust-imagequant-sys-4.0.3-8.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpcz4lopad/rust-imagequant-sys-4.0.3-8.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9