Error: COMPILER_WARNING (CWE-563): [#def1] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp: scope_hint: In function 'int main(int, char**)' grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:180:8: warning[-Wunused-variable]: unused variable 'a1' # 180 | auto a1 = 6538; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def2] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:187:16: warning[-Wunused-variable]: unused variable 'a4' # 187 | decltype(a2) a4 = 34895.034; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def3] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:191:9: warning[-Wunused-variable]: unused variable 'sa' # 191 | short sa[cxx11test::get_val()] = { 0 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def4] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:195:23: warning[-Wunused-variable]: unused variable 'il' # 195 | cxx11test::testinit il = { 4323, 435234.23544 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def5] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:216:8: warning[-Wunused-variable]: unused variable 'a' # 216 | auto a = sum(1); # | ^ Error: CLANG_WARNING: [#def6] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:216:8: warning[deadcode.DeadStores]: Value stored to 'a' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def7] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:217:8: warning[-Wunused-variable]: unused variable 'b' # 217 | auto b = sum(1, 2); # | ^ Error: CLANG_WARNING: [#def8] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:217:8: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def9] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:218:8: warning[-Wunused-variable]: unused variable 'c' # 218 | auto c = sum(1.0, 2.0, 3.0); # | ^ Error: CLANG_WARNING: [#def10] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:218:8: warning[deadcode.DeadStores]: Value stored to 'c' during its initialization is never read Error: COMPILER_WARNING: [#def11] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:223:25: warning[-Wvexing-parse]: empty parentheses were disambiguated as a function declaration # 223 | cxx11test::delegate d2(); # | ^~ grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:223:25: note: remove parentheses to default-initialize a variable # 223 | cxx11test::delegate d2(); # | ^~ # | -- grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:223:25: note: or replace parentheses with braces to value-initialize a variable Error: COMPILER_WARNING (CWE-563): [#def12] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:232:9: warning[-Wunused-variable]: unused variable 'c' # 232 | char *c = nullptr; # | ^ Error: COMPILER_WARNING (CWE-563): [#def13] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:240:15: warning[-Wunused-variable]: unused variable 'utf8' # 240 | char const *utf8 = u8"UTF-8 string \u2500"; # | ^~~~ Error: CLANG_WARNING: [#def14] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:240:15: warning[deadcode.DeadStores]: Value stored to 'utf8' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def15] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:241:19: warning[-Wunused-variable]: unused variable 'utf16' # 241 | char16_t const *utf16 = u"UTF-8 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def16] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:241:19: warning[deadcode.DeadStores]: Value stored to 'utf16' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def17] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:242:19: warning[-Wunused-variable]: unused variable 'utf32' # 242 | char32_t const *utf32 = U"UTF-32 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def18] grub2-2.06-build/grub-2.06/grub-emu-2.06/conftest.cpp:242:19: warning[deadcode.DeadStores]: Value stored to 'utf32' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def19] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp: scope_hint: In function 'int main(int, char**)' grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:180:8: warning[-Wunused-variable]: unused variable 'a1' # 180 | auto a1 = 6538; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def20] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:187:16: warning[-Wunused-variable]: unused variable 'a4' # 187 | decltype(a2) a4 = 34895.034; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def21] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:191:9: warning[-Wunused-variable]: unused variable 'sa' # 191 | short sa[cxx11test::get_val()] = { 0 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def22] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:195:23: warning[-Wunused-variable]: unused variable 'il' # 195 | cxx11test::testinit il = { 4323, 435234.23544 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def23] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:216:8: warning[-Wunused-variable]: unused variable 'a' # 216 | auto a = sum(1); # | ^ Error: CLANG_WARNING: [#def24] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:216:8: warning[deadcode.DeadStores]: Value stored to 'a' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def25] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:217:8: warning[-Wunused-variable]: unused variable 'b' # 217 | auto b = sum(1, 2); # | ^ Error: CLANG_WARNING: [#def26] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:217:8: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def27] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:218:8: warning[-Wunused-variable]: unused variable 'c' # 218 | auto c = sum(1.0, 2.0, 3.0); # | ^ Error: CLANG_WARNING: [#def28] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:218:8: warning[deadcode.DeadStores]: Value stored to 'c' during its initialization is never read Error: COMPILER_WARNING: [#def29] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:223:25: warning[-Wvexing-parse]: empty parentheses were disambiguated as a function declaration # 223 | cxx11test::delegate d2(); # | ^~ grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:223:25: note: remove parentheses to default-initialize a variable # 223 | cxx11test::delegate d2(); # | ^~ # | -- grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:223:25: note: or replace parentheses with braces to value-initialize a variable Error: COMPILER_WARNING (CWE-563): [#def30] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:232:9: warning[-Wunused-variable]: unused variable 'c' # 232 | char *c = nullptr; # | ^ Error: COMPILER_WARNING (CWE-563): [#def31] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:240:15: warning[-Wunused-variable]: unused variable 'utf8' # 240 | char const *utf8 = u8"UTF-8 string \u2500"; # | ^~~~ Error: CLANG_WARNING: [#def32] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:240:15: warning[deadcode.DeadStores]: Value stored to 'utf8' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def33] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:241:19: warning[-Wunused-variable]: unused variable 'utf16' # 241 | char16_t const *utf16 = u"UTF-8 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def34] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:241:19: warning[deadcode.DeadStores]: Value stored to 'utf16' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def35] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:242:19: warning[-Wunused-variable]: unused variable 'utf32' # 242 | char32_t const *utf32 = U"UTF-32 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def36] grub2-2.06-build/grub-2.06/grub-i386-efi-2.06/conftest.cpp:242:19: warning[deadcode.DeadStores]: Value stored to 'utf32' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def37] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp: scope_hint: In function 'int main(int, char**)' grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:180:8: warning[-Wunused-variable]: unused variable 'a1' # 180 | auto a1 = 6538; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def38] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:187:16: warning[-Wunused-variable]: unused variable 'a4' # 187 | decltype(a2) a4 = 34895.034; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def39] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:191:9: warning[-Wunused-variable]: unused variable 'sa' # 191 | short sa[cxx11test::get_val()] = { 0 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def40] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:195:23: warning[-Wunused-variable]: unused variable 'il' # 195 | cxx11test::testinit il = { 4323, 435234.23544 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def41] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:216:8: warning[-Wunused-variable]: unused variable 'a' # 216 | auto a = sum(1); # | ^ Error: CLANG_WARNING: [#def42] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:216:8: warning[deadcode.DeadStores]: Value stored to 'a' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def43] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:217:8: warning[-Wunused-variable]: unused variable 'b' # 217 | auto b = sum(1, 2); # | ^ Error: CLANG_WARNING: [#def44] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:217:8: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def45] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:218:8: warning[-Wunused-variable]: unused variable 'c' # 218 | auto c = sum(1.0, 2.0, 3.0); # | ^ Error: CLANG_WARNING: [#def46] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:218:8: warning[deadcode.DeadStores]: Value stored to 'c' during its initialization is never read Error: COMPILER_WARNING: [#def47] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:223:25: warning[-Wvexing-parse]: empty parentheses were disambiguated as a function declaration # 223 | cxx11test::delegate d2(); # | ^~ grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:223:25: note: remove parentheses to default-initialize a variable # 223 | cxx11test::delegate d2(); # | ^~ # | -- grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:223:25: note: or replace parentheses with braces to value-initialize a variable Error: COMPILER_WARNING (CWE-563): [#def48] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:232:9: warning[-Wunused-variable]: unused variable 'c' # 232 | char *c = nullptr; # | ^ Error: COMPILER_WARNING (CWE-563): [#def49] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:240:15: warning[-Wunused-variable]: unused variable 'utf8' # 240 | char const *utf8 = u8"UTF-8 string \u2500"; # | ^~~~ Error: CLANG_WARNING: [#def50] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:240:15: warning[deadcode.DeadStores]: Value stored to 'utf8' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def51] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:241:19: warning[-Wunused-variable]: unused variable 'utf16' # 241 | char16_t const *utf16 = u"UTF-8 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def52] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:241:19: warning[deadcode.DeadStores]: Value stored to 'utf16' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def53] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:242:19: warning[-Wunused-variable]: unused variable 'utf32' # 242 | char32_t const *utf32 = U"UTF-32 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def54] grub2-2.06-build/grub-2.06/grub-i386-pc-2.06/conftest.cpp:242:19: warning[deadcode.DeadStores]: Value stored to 'utf32' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def55] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp: scope_hint: In function 'int main(int, char**)' grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:180:8: warning[-Wunused-variable]: unused variable 'a1' # 180 | auto a1 = 6538; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def56] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:187:16: warning[-Wunused-variable]: unused variable 'a4' # 187 | decltype(a2) a4 = 34895.034; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def57] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:191:9: warning[-Wunused-variable]: unused variable 'sa' # 191 | short sa[cxx11test::get_val()] = { 0 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def58] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:195:23: warning[-Wunused-variable]: unused variable 'il' # 195 | cxx11test::testinit il = { 4323, 435234.23544 }; # | ^~ Error: COMPILER_WARNING (CWE-563): [#def59] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:216:8: warning[-Wunused-variable]: unused variable 'a' # 216 | auto a = sum(1); # | ^ Error: CLANG_WARNING: [#def60] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:216:8: warning[deadcode.DeadStores]: Value stored to 'a' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def61] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:217:8: warning[-Wunused-variable]: unused variable 'b' # 217 | auto b = sum(1, 2); # | ^ Error: CLANG_WARNING: [#def62] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:217:8: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def63] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:218:8: warning[-Wunused-variable]: unused variable 'c' # 218 | auto c = sum(1.0, 2.0, 3.0); # | ^ Error: CLANG_WARNING: [#def64] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:218:8: warning[deadcode.DeadStores]: Value stored to 'c' during its initialization is never read Error: COMPILER_WARNING: [#def65] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:223:25: warning[-Wvexing-parse]: empty parentheses were disambiguated as a function declaration # 223 | cxx11test::delegate d2(); # | ^~ grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:223:25: note: remove parentheses to default-initialize a variable # 223 | cxx11test::delegate d2(); # | ^~ # | -- grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:223:25: note: or replace parentheses with braces to value-initialize a variable Error: COMPILER_WARNING (CWE-563): [#def66] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:232:9: warning[-Wunused-variable]: unused variable 'c' # 232 | char *c = nullptr; # | ^ Error: COMPILER_WARNING (CWE-563): [#def67] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:240:15: warning[-Wunused-variable]: unused variable 'utf8' # 240 | char const *utf8 = u8"UTF-8 string \u2500"; # | ^~~~ Error: CLANG_WARNING: [#def68] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:240:15: warning[deadcode.DeadStores]: Value stored to 'utf8' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def69] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:241:19: warning[-Wunused-variable]: unused variable 'utf16' # 241 | char16_t const *utf16 = u"UTF-8 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def70] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:241:19: warning[deadcode.DeadStores]: Value stored to 'utf16' during its initialization is never read Error: COMPILER_WARNING (CWE-563): [#def71] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:242:19: warning[-Wunused-variable]: unused variable 'utf32' # 242 | char32_t const *utf32 = U"UTF-32 string \u2500"; # | ^~~~~ Error: CLANG_WARNING: [#def72] grub2-2.06-build/grub-2.06/grub-x86_64-efi-2.06/conftest.cpp:242: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-29.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | grub2-2.06-124.fc41 |
diffbase-store-results-to | /tmp/tmp6dqmqws5/grub2-2.06-124.fc41.tar.xz |
diffbase-time-created | 2024-07-03 13:32:41 |
diffbase-time-finished | 2024-07-03 13:54:36 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp6dqmqws5/grub2-2.06-124.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp6dqmqws5/grub2-2.06-124.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-29.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | grub2-2.06-124.fc41 |
store-results-to | /tmp/tmp6dqmqws5/grub2-2.06-124.fc41.tar.xz |
time-created | 2024-07-03 13:32:41 |
time-finished | 2024-07-03 13:54:36 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp6dqmqws5/grub2-2.06-124.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp6dqmqws5/grub2-2.06-124.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |