brltty-6.6-13.fc40 - defects not occurring in brltty-6.6-13.fc40

List of Defects

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

Error: COMPILER_WARNING (CWE-563): [#def2]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:163:16: warning[-Wunused-variable]: unused variable 'a4'
#  163 |   decltype(a2) a4 = 34895.034;
#      |                ^~

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

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

Error: COMPILER_WARNING (CWE-563): [#def5]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:192:8: warning[-Wunused-variable]: unused variable 'a'
#  192 |   auto a = sum(1);
#      |        ^

Error: CLANG_WARNING: [#def6]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:192:8: warning[deadcode.DeadStores]: Value stored to 'a' during its initialization is never read

Error: COMPILER_WARNING (CWE-563): [#def7]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:193:8: warning[-Wunused-variable]: unused variable 'b'
#  193 |   auto b = sum(1, 2);
#      |        ^

Error: CLANG_WARNING: [#def8]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:193:8: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read

Error: COMPILER_WARNING (CWE-563): [#def9]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:194:8: warning[-Wunused-variable]: unused variable 'c'
#  194 |   auto c = sum(1.0, 2.0, 3.0);
#      |        ^

Error: CLANG_WARNING: [#def10]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:194:8: warning[deadcode.DeadStores]: Value stored to 'c' during its initialization is never read

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

Error: COMPILER_WARNING (CWE-563): [#def12]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:208:9: warning[-Wunused-variable]: unused variable 'c'
#  208 |   char *c = nullptr;
#      |         ^

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

Error: CLANG_WARNING: [#def14]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:216:15: warning[deadcode.DeadStores]: Value stored to 'utf8' during its initialization is never read

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

Error: CLANG_WARNING: [#def16]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:217:19: warning[deadcode.DeadStores]: Value stored to 'utf16' during its initialization is never read

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

Error: CLANG_WARNING: [#def18]
brltty-6.6-build/brltty-6.6/minimal/conftest.cpp:218:19: warning[deadcode.DeadStores]: Value stored to 'utf32' during its initialization is never read

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

Error: COMPILER_WARNING (CWE-563): [#def20]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:163:16: warning[-Wunused-variable]: unused variable 'a4'
#  163 |   decltype(a2) a4 = 34895.034;
#      |                ^~

Error: COMPILER_WARNING (CWE-563): [#def21]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:167:9: warning[-Wunused-variable]: unused variable 'sa'
#  167 |   short sa[cxx11test::get_val()] = { 0 };
#      |         ^~

Error: COMPILER_WARNING (CWE-563): [#def22]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:171:23: warning[-Wunused-variable]: unused variable 'il'
#  171 |   cxx11test::testinit il = { 4323, 435234.23544 };
#      |                       ^~

Error: COMPILER_WARNING (CWE-563): [#def23]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:192:8: warning[-Wunused-variable]: unused variable 'a'
#  192 |   auto a = sum(1);
#      |        ^

Error: CLANG_WARNING: [#def24]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:192:8: warning[deadcode.DeadStores]: Value stored to 'a' during its initialization is never read

Error: COMPILER_WARNING (CWE-563): [#def25]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:193:8: warning[-Wunused-variable]: unused variable 'b'
#  193 |   auto b = sum(1, 2);
#      |        ^

Error: CLANG_WARNING: [#def26]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:193:8: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read

Error: COMPILER_WARNING (CWE-563): [#def27]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:194:8: warning[-Wunused-variable]: unused variable 'c'
#  194 |   auto c = sum(1.0, 2.0, 3.0);
#      |        ^

Error: CLANG_WARNING: [#def28]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:194:8: warning[deadcode.DeadStores]: Value stored to 'c' during its initialization is never read

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

Error: COMPILER_WARNING (CWE-563): [#def30]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:208:9: warning[-Wunused-variable]: unused variable 'c'
#  208 |   char *c = nullptr;
#      |         ^

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

Error: CLANG_WARNING: [#def32]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:216:15: warning[deadcode.DeadStores]: Value stored to 'utf8' during its initialization is never read

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

Error: CLANG_WARNING: [#def34]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:217:19: warning[deadcode.DeadStores]: Value stored to 'utf16' during its initialization is never read

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

Error: CLANG_WARNING: [#def36]
brltty-6.6-build/brltty-6.6/python3/conftest.cpp:218:19: warning[deadcode.DeadStores]: Value stored to 'utf32' during its initialization is never read

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-221.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namebrltty-6.6-13.fc40
diffbase-store-results-to/tmp/tmp3iv6px95/brltty-6.6-13.fc40.tar.xz
diffbase-time-created2024-07-03 12:04:33
diffbase-time-finished2024-07-03 12:19:08
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp3iv6px95/brltty-6.6-13.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp3iv6px95/brltty-6.6-13.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-221.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namebrltty-6.6-13.fc40
store-results-to/tmp/tmp3iv6px95/brltty-6.6-13.fc40.tar.xz
time-created2024-07-03 12:04:33
time-finished2024-07-03 12:19:08
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp3iv6px95/brltty-6.6-13.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp3iv6px95/brltty-6.6-13.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9