Fixed findings

List of Findings

Error: SHELLCHECK_WARNING: [#def1]
/usr/bin/dpkg-realpath:56:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
#   54|   
#   55|   canonicalize() {
#   56|->   local src="$1"
#   57|     local root="$DPKG_ROOT"
#   58|     local loop=0

Error: SHELLCHECK_WARNING: [#def2]
/usr/bin/dpkg-realpath:57:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
#   55|   canonicalize() {
#   56|     local src="$1"
#   57|->   local root="$DPKG_ROOT"
#   58|     local loop=0
#   59|     local result="$root"

Error: SHELLCHECK_WARNING: [#def3]
/usr/bin/dpkg-realpath:58:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
#   56|     local src="$1"
#   57|     local root="$DPKG_ROOT"
#   58|->   local loop=0
#   59|     local result="$root"
#   60|     local dst

Error: SHELLCHECK_WARNING: [#def4]
/usr/bin/dpkg-realpath:59:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
#   57|     local root="$DPKG_ROOT"
#   58|     local loop=0
#   59|->   local result="$root"
#   60|     local dst
#   61|   

Error: SHELLCHECK_WARNING: [#def5]
/usr/bin/dpkg-realpath:60:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
#   58|     local loop=0
#   59|     local result="$root"
#   60|->   local dst
#   61|   
#   62|     # Check whether the path is relative and make it absolute otherwise.

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
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-108.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namedpkg-1.22.11-1.fc42
diffbase-store-results-to/tmp/tmpzwjef5qz/dpkg-1.22.11-1.fc42.tar.xz
diffbase-time-created2024-11-12 23:40:10
diffbase-time-finished2024-11-12 23:43:02
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpzwjef5qz/dpkg-1.22.11-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpzwjef5qz/dpkg-1.22.11-1.fc42.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-108.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namedpkg-1.22.6-2.fc41
store-results-to/tmp/tmp24wcq8br/dpkg-1.22.6-2.fc41.tar.xz
time-created2024-11-12 23:36:44
time-finished2024-11-12 23:39:57
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp24wcq8br/dpkg-1.22.6-2.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp24wcq8br/dpkg-1.22.6-2.fc41.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9