Error: COMPILER_WARNING (CWE-563): [#def1] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp: scope_hint: In function 'int main()' dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:60:15: warning[-Wunused-variable]: unused variable 'ptr' # 60 | void *ptr = nullptr; # | ^~~ Error: COMPILER_WARNING (CWE-563): [#def2] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp: scope_hint: In function 'int main(int, char**)' dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:175:8: warning[-Wunused-variable]: unused variable 'a1' # 175 | auto a1 = 6538; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def3] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:182:16: warning[-Wunused-variable]: unused variable 'a4' # 182 | decltype(a2) a4 = 34895.034; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def4] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:186:9: warning[-Wunused-variable]: unused variable 'sa' # 186 | short sa[cxx11test::get_val()] = { 0 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def5] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:190:23: warning[-Wunused-variable]: unused variable 'il' # 190 | cxx11test::testinit il = { 4323, 435234.23544 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def6] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:211:8: warning[-Wunused-variable]: unused variable 'a' # 211 | auto a = sum(1); # | ^ Error: CLANG_WARNING: [#def7] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:211:8: warning[deadcode.DeadStores]: Value stored to 'a' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def8] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:212:8: warning[-Wunused-variable]: unused variable 'b' # 212 | auto b = sum(1, 2); # | ^ Error: CLANG_WARNING: [#def9] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:212:8: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def10] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:213:8: warning[-Wunused-variable]: unused variable 'c' # 213 | auto c = sum(1.0, 2.0, 3.0); # | ^ Error: CLANG_WARNING: [#def11] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:213:8: warning[deadcode.DeadStores]: Value stored to 'c' during its initialization is never read Error: COMPILER_WARNING: [#def12] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:218:25: warning[-Wvexing-parse]: empty parentheses were disambiguated as a function declaration # 218 | cxx11test::delegate d2(); # | ^~ dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:218:25: note: remove parentheses to default-initialize a variable # 218 | cxx11test::delegate d2(); # | ^~ # | -- dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:218:25: note: or replace parentheses with braces to value-initialize a variable Error: COMPILER_WARNING (CWE-563): [#def13] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:227:9: warning[-Wunused-variable]: unused variable 'c' # 227 | char *c = nullptr; # | ^ Error: COMPILER_WARNING (CWE-563): [#def14] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:235:15: warning[-Wunused-variable]: unused variable 'utf8' # 235 | char const *utf8 = u8"UTF-8 string \u2500"; # | ^~~~ Error: CLANG_WARNING: [#def15] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:235:15: warning[deadcode.DeadStores]: Value stored to 'utf8' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def16] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:236:19: warning[-Wunused-variable]: unused variable 'utf16' # 236 | char16_t const *utf16 = u"UTF-8 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def17] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:236:19: warning[deadcode.DeadStores]: Value stored to 'utf16' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def18] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:237:19: warning[-Wunused-variable]: unused variable 'utf32' # 237 | char32_t const *utf32 = U"UTF-32 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def19] dpkg-1.22.6-build/dpkg-1.22.6/conftest.cpp:237:19: warning[deadcode.DeadStores]: Value stored to 'utf32' during its initialization is never read
| analyzer-version-clang | 18.1.7 |
| analyzer-version-cppcheck | 2.14.2 |
| analyzer-version-gcc | 14.1.1 |
| analyzer-version-gcc-analyzer | 14.1.1 |
| analyzer-version-shellcheck | 0.10.0 |
| diffbase-analyzer-version-clang | 18.1.7 |
| diffbase-analyzer-version-cppcheck | 2.14.2 |
| diffbase-analyzer-version-gcc | 14.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 14.1.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-161.us-west-2.compute.internal |
| diffbase-mock-config | fedora-41-x86_64 |
| diffbase-project-name | dpkg-1.22.6-1.fc41 |
| diffbase-store-results-to | /tmp/tmpubnfatks/dpkg-1.22.6-1.fc41.tar.xz |
| diffbase-time-created | 2024-07-03 12:30:03 |
| diffbase-time-finished | 2024-07-03 12:32:28 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpubnfatks/dpkg-1.22.6-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpubnfatks/dpkg-1.22.6-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-161.us-west-2.compute.internal |
| mock-config | fedora-41-x86_64 |
| project-name | dpkg-1.22.6-1.fc41 |
| store-results-to | /tmp/tmpubnfatks/dpkg-1.22.6-1.fc41.tar.xz |
| time-created | 2024-07-03 12:30:03 |
| time-finished | 2024-07-03 12:32:28 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpubnfatks/dpkg-1.22.6-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpubnfatks/dpkg-1.22.6-1.fc41.src.rpm' |
| tool-version | csmock-3.5.3-1.el9 |