gpgme-1.23.2-4.fc41 - defects not occurring in gpgme-1.23.2-4.fc41

List of Defects

Error: COMPILER_WARNING (CWE-563): [#def1]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp: scope_hint: In function 'int main(int, char**)'
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:167:8: warning[-Wunused-variable]: unused variable 'a1'
#  167 |   auto a1 = 6538;
#      |        ^~

Error: COMPILER_WARNING (CWE-563): [#def2]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:174:16: warning[-Wunused-variable]: unused variable 'a4'
#  174 |   decltype(a2) a4 = 3.1395.034;
#      |                ^~

Error: COMPILER_WARNING (CWE-563): [#def3]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:178:9: warning[-Wunused-variable]: unused variable 'sa'
#  178 |   short sa[cxx11test::get_val()] = { 0 };
#      |         ^~

Error: COMPILER_WARNING (CWE-563): [#def4]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:182:23: warning[-Wunused-variable]: unused variable 'il'
#  182 |   cxx11test::testinit il = { 4323, 435234.23544 };
#      |                       ^~

Error: COMPILER_WARNING (CWE-563): [#def5]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:203:8: warning[-Wunused-variable]: unused variable 'a'
#  203 |   auto a = sum(1);
#      |        ^

Error: COMPILER_WARNING (CWE-563): [#def6]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:204:8: warning[-Wunused-variable]: unused variable 'b'
#  204 |   auto b = sum(1, 2);
#      |        ^

Error: COMPILER_WARNING (CWE-563): [#def7]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:205:8: warning[-Wunused-variable]: unused variable 'c'
#  205 |   auto c = sum(1.0, 2.0, 3.0);
#      |        ^

Error: COMPILER_WARNING: [#def8]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:210:25: warning[-Wvexing-parse]: empty parentheses were disambiguated as a function declaration
#  210 |   cxx11test::delegate d2();
#      |                         ^~
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:210:25: note: remove parentheses to default-initialize a variable
#  210 |   cxx11test::delegate d2();
#      |                         ^~
#      |                         --
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:210:25: note: or replace parentheses with braces to value-initialize a variable

Error: COMPILER_WARNING (CWE-563): [#def9]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:219:9: warning[-Wunused-variable]: unused variable 'c'
#  219 |   char *c = nullptr;
#      |         ^

Error: COMPILER_WARNING (CWE-563): [#def10]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:227:15: warning[-Wunused-variable]: unused variable 'utf8'
#  227 |   char const *utf8 = u8"UTF-8 string \u2500";
#      |               ^~~~

Error: COMPILER_WARNING (CWE-563): [#def11]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:228:19: warning[-Wunused-variable]: unused variable 'utf16'
#  228 |   char16_t const *utf16 = u"UTF-8 string \u2500";
#      |                   ^~~~~

Error: COMPILER_WARNING (CWE-563): [#def12]
gpgme-1.23.2-build/gpgme-1.23.2/build-qt6/conftest.cpp:229:19: warning[-Wunused-variable]: unused variable 'utf32'
#  229 |   char32_t const *utf32 = U"UTF-32 string \u2500";
#      |                   ^~~~~

Error: COMPILER_WARNING (CWE-563): [#def13]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp: scope_hint: In function 'int main(int, char**)'
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:167:8: warning[-Wunused-variable]: unused variable 'a1'
#  167 |   auto a1 = 6538;
#      |        ^~

Error: COMPILER_WARNING (CWE-563): [#def14]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:174:16: warning[-Wunused-variable]: unused variable 'a4'
#  174 |   decltype(a2) a4 = 3.1395.034;
#      |                ^~

Error: COMPILER_WARNING (CWE-563): [#def15]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:178:9: warning[-Wunused-variable]: unused variable 'sa'
#  178 |   short sa[cxx11test::get_val()] = { 0 };
#      |         ^~

Error: COMPILER_WARNING (CWE-563): [#def16]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:182:23: warning[-Wunused-variable]: unused variable 'il'
#  182 |   cxx11test::testinit il = { 4323, 435234.23544 };
#      |                       ^~

Error: COMPILER_WARNING (CWE-563): [#def17]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:203:8: warning[-Wunused-variable]: unused variable 'a'
#  203 |   auto a = sum(1);
#      |        ^

Error: COMPILER_WARNING (CWE-563): [#def18]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:204:8: warning[-Wunused-variable]: unused variable 'b'
#  204 |   auto b = sum(1, 2);
#      |        ^

Error: COMPILER_WARNING (CWE-563): [#def19]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:205:8: warning[-Wunused-variable]: unused variable 'c'
#  205 |   auto c = sum(1.0, 2.0, 3.0);
#      |        ^

Error: COMPILER_WARNING: [#def20]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:210:25: warning[-Wvexing-parse]: empty parentheses were disambiguated as a function declaration
#  210 |   cxx11test::delegate d2();
#      |                         ^~
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:210:25: note: remove parentheses to default-initialize a variable
#  210 |   cxx11test::delegate d2();
#      |                         ^~
#      |                         --
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:210:25: note: or replace parentheses with braces to value-initialize a variable

Error: COMPILER_WARNING (CWE-563): [#def21]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:219:9: warning[-Wunused-variable]: unused variable 'c'
#  219 |   char *c = nullptr;
#      |         ^

Error: COMPILER_WARNING (CWE-563): [#def22]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:227:15: warning[-Wunused-variable]: unused variable 'utf8'
#  227 |   char const *utf8 = u8"UTF-8 string \u2500";
#      |               ^~~~

Error: COMPILER_WARNING (CWE-563): [#def23]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:228:19: warning[-Wunused-variable]: unused variable 'utf16'
#  228 |   char16_t const *utf16 = u"UTF-8 string \u2500";
#      |                   ^~~~~

Error: COMPILER_WARNING (CWE-563): [#def24]
gpgme-1.23.2-build/gpgme-1.23.2/build/conftest.cpp:229:19: warning[-Wunused-variable]: unused variable 'utf32'
#  229 |   char32_t const *utf32 = U"UTF-32 string \u2500";
#      |                   ^~~~~

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
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-9.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namegpgme-1.23.2-4.fc41
diffbase-store-results-to/tmp/tmpwkqdmqfr/gpgme-1.23.2-4.fc41.tar.xz
diffbase-time-created2024-07-03 13:59:52
diffbase-time-finished2024-07-03 14:42:37
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpwkqdmqfr/gpgme-1.23.2-4.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpwkqdmqfr/gpgme-1.23.2-4.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-9.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegpgme-1.23.2-4.fc41
store-results-to/tmp/tmpwkqdmqfr/gpgme-1.23.2-4.fc41.tar.xz
time-created2024-07-03 13:59:52
time-finished2024-07-03 14:42:37
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpwkqdmqfr/gpgme-1.23.2-4.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpwkqdmqfr/gpgme-1.23.2-4.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9