Error: COMPILER_WARNING (CWE-563): [#def1] libexpat-R_2_6_2/expat/conftest.cpp: scope_hint: In function 'int main(int, char**)' libexpat-R_2_6_2/expat/conftest.cpp:147:8: warning[-Wunused-variable]: unused variable 'a1' # 147 | auto a1 = 6538; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def2] libexpat-R_2_6_2/expat/conftest.cpp:154:16: warning[-Wunused-variable]: unused variable 'a4' # 154 | decltype(a2) a4 = 34895.034; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def3] libexpat-R_2_6_2/expat/conftest.cpp:158:9: warning[-Wunused-variable]: unused variable 'sa' # 158 | short sa[cxx11test::get_val()] = { 0 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def4] libexpat-R_2_6_2/expat/conftest.cpp:162:23: warning[-Wunused-variable]: unused variable 'il' # 162 | cxx11test::testinit il = { 4323, 435234.23544 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def5] libexpat-R_2_6_2/expat/conftest.cpp:183:8: warning[-Wunused-variable]: unused variable 'a' # 183 | auto a = sum(1); # | ^ Error: CLANG_WARNING: [#def6] libexpat-R_2_6_2/expat/conftest.cpp:183:8: warning[deadcode.DeadStores]: Value stored to 'a' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def7] libexpat-R_2_6_2/expat/conftest.cpp:184:8: warning[-Wunused-variable]: unused variable 'b' # 184 | auto b = sum(1, 2); # | ^ Error: CLANG_WARNING: [#def8] libexpat-R_2_6_2/expat/conftest.cpp:184:8: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def9] libexpat-R_2_6_2/expat/conftest.cpp:185:8: warning[-Wunused-variable]: unused variable 'c' # 185 | auto c = sum(1.0, 2.0, 3.0); # | ^ Error: CLANG_WARNING: [#def10] libexpat-R_2_6_2/expat/conftest.cpp:185:8: warning[deadcode.DeadStores]: Value stored to 'c' during its initialization is never read Error: COMPILER_WARNING: [#def11] libexpat-R_2_6_2/expat/conftest.cpp:190:25: warning[-Wvexing-parse]: empty parentheses were disambiguated as a function declaration # 190 | cxx11test::delegate d2(); # | ^~ libexpat-R_2_6_2/expat/conftest.cpp:190:25: note: remove parentheses to default-initialize a variable # 190 | cxx11test::delegate d2(); # | ^~ # | -- libexpat-R_2_6_2/expat/conftest.cpp:190:25: note: or replace parentheses with braces to value-initialize a variable Error: COMPILER_WARNING (CWE-563): [#def12] libexpat-R_2_6_2/expat/conftest.cpp:199:9: warning[-Wunused-variable]: unused variable 'c' # 199 | char *c = nullptr; # | ^ Error: COMPILER_WARNING (CWE-563): [#def13] libexpat-R_2_6_2/expat/conftest.cpp:207:15: warning[-Wunused-variable]: unused variable 'utf8' # 207 | char const *utf8 = u8"UTF-8 string \u2500"; # | ^~~~ Error: CLANG_WARNING: [#def14] libexpat-R_2_6_2/expat/conftest.cpp:207:15: warning[deadcode.DeadStores]: Value stored to 'utf8' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def15] libexpat-R_2_6_2/expat/conftest.cpp:208:19: warning[-Wunused-variable]: unused variable 'utf16' # 208 | char16_t const *utf16 = u"UTF-8 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def16] libexpat-R_2_6_2/expat/conftest.cpp:208:19: warning[deadcode.DeadStores]: Value stored to 'utf16' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def17] libexpat-R_2_6_2/expat/conftest.cpp:209:19: warning[-Wunused-variable]: unused variable 'utf32' # 209 | char32_t const *utf32 = U"UTF-32 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def18] libexpat-R_2_6_2/expat/conftest.cpp:209:19: warning[deadcode.DeadStores]: Value stored to 'utf32' during its initialization is never read
analyzer-version-clang | 18.1.3 |
analyzer-version-cppcheck | 2.13.0 |
analyzer-version-gcc | 14.0.1 |
analyzer-version-gcc-analyzer | 14.0.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.3 |
diffbase-analyzer-version-cppcheck | 2.13.0 |
diffbase-analyzer-version-gcc | 14.0.1 |
diffbase-analyzer-version-gcc-analyzer | 14.0.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-42.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | expat-2.6.2-1.fc41 |
diffbase-store-results-to | /tmp/tmpfuvapj_c/expat-2.6.2-1.fc41.tar.xz |
diffbase-time-created | 2024-04-22 10:55:06 |
diffbase-time-finished | 2024-04-22 10:56:59 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpfuvapj_c/expat-2.6.2-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpfuvapj_c/expat-2.6.2-1.fc41.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-42.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | expat-2.6.2-1.fc41 |
store-results-to | /tmp/tmpfuvapj_c/expat-2.6.2-1.fc41.tar.xz |
time-created | 2024-04-22 10:55:06 |
time-finished | 2024-04-22 10:56:59 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpfuvapj_c/expat-2.6.2-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpfuvapj_c/expat-2.6.2-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |