Fixed findings

List of Findings

Error: COMPILER_WARNING: [#def1]
avahi-0.9.rc4/avahi-compat-libdns_sd/unsupported.c:27: included_from: Included from here.
avahi-0.9.rc4/avahi-compat-libdns_sd/unsupported.c: scope_hint: In function 'DNSServiceRegisterRecord'
avahi-0.9.rc4/avahi-compat-libdns_sd/warn.h:33:82: warning[-Wpedantic]: ISO C does not support '__FUNCTION__' predefined identifier
#   33 | #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
#      |                                                                                  ^~~~~~~~~~~~
avahi-0.9.rc4/avahi-compat-libdns_sd/unsupported.c:43:5: note: in expansion of macro 'AVAHI_WARN_UNSUPPORTED'
#   43 |     AVAHI_WARN_UNSUPPORTED;
#      |     ^~~~~~~~~~~~~~~~~~~~~~
#   31|   
#   32|   #define AVAHI_WARN_LINKAGE do { avahi_warn_linkage(); } while(0)
#   33|-> #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
#   34|   #define AVAHI_WARN_UNSUPPORTED_ABORT do { AVAHI_WARN_UNSUPPORTED; abort(); } while(0)
#   35|   

Error: COMPILER_WARNING: [#def2]
avahi-0.9.rc4/avahi-compat-libdns_sd/compat.c:47: included_from: Included from here.
avahi-0.9.rc4/avahi-compat-libdns_sd/compat.c: scope_hint: In function ‘DNSServiceBrowse’
avahi-0.9.rc4/avahi-compat-libdns_sd/warn.h:33:82: warning[-Wpedantic]: ISO C does not support ‘__FUNCTION__’ predefined identifier
#   33 | #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
#      |                                                                                  ^~~~~~~~~~~~
avahi-0.9.rc4/avahi-compat-libdns_sd/compat.c:622:9: note: in expansion of macro ‘AVAHI_WARN_UNSUPPORTED’
#  622 |         AVAHI_WARN_UNSUPPORTED;
#      |         ^~~~~~~~~~~~~~~~~~~~~~
#   31|   
#   32|   #define AVAHI_WARN_LINKAGE do { avahi_warn_linkage(); } while(0)
#   33|-> #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
#   34|   #define AVAHI_WARN_UNSUPPORTED_ABORT do { AVAHI_WARN_UNSUPPORTED; abort(); } while(0)
#   35|   

Scan Properties

analyzer-version-clang22.1.4
analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clang22.1.4
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.0.1
diffbase-analyzer-version-gcc-analyzer16.0.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-109.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.20260420.180315.gd39a405.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameavahi-0.9.rc4-8.20260427134852589021.pr899.5.g9ce1408
diffbase-store-results-to/tmp/tmpyxs2ozkg/avahi-0.9.rc4-8.20260427134852589021.pr899.5.g9ce1408.tar.xz
diffbase-time-created2026-04-27 14:03:50
diffbase-time-finished2026-04-27 14:06:50
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpyxs2ozkg/avahi-0.9.rc4-8.20260427134852589021.pr899.5.g9ce1408.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpyxs2ozkg/avahi-0.9.rc4-8.20260427134852589021.pr899.5.g9ce1408.src.rpm'
diffbase-tool-versioncsmock-3.8.5-1.el9
enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-109.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260420.180315.gd39a405.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameavahi-0.9.rc4-8.20260419150803316130.master.4.g66add19
store-results-to/tmp/tmp5idlkwgh/avahi-0.9.rc4-8.20260419150803316130.master.4.g66add19.tar.xz
time-created2026-04-27 13:59:25
time-finished2026-04-27 14:03:22
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp5idlkwgh/avahi-0.9.rc4-8.20260419150803316130.master.4.g66add19.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmp5idlkwgh/avahi-0.9.rc4-8.20260419150803316130.master.4.g66add19.src.rpm'
tool-versioncsmock-3.8.5-1.el9