vapoursynth-68-2.fc41 - defects not occurring in vapoursynth-68-2.fc41

List of Defects

Error: COMPILER_WARNING: [#def1]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:31:9: warning: "_GNU_SOURCE" redefined
#   31 | #define _GNU_SOURCE
#      |         ^~~~~~~~~~~
<command-line>: note: this is the location of the previous definition

Error: COMPILER_WARNING (CWE-563): [#def2]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp: scope_hint: In function 'int main()'
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:40:5: warning[-Wunused-variable]: unused variable 'count'
#   40 | int count = CPU_COUNT(&affinity);
#      |     ^~~~~

Error: CLANG_WARNING: [#def3]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:40:5: warning[deadcode.DeadStores]: Value stored to 'count' during its initialization is never read

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

Error: COMPILER_WARNING (CWE-563): [#def5]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:151:16: warning[-Wunused-variable]: unused variable 'a4'
#  151 |   decltype(a2) a4 = 34895.034;
#      |                ^~

Error: COMPILER_WARNING (CWE-563): [#def6]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:155:9: warning[-Wunused-variable]: unused variable 'sa'
#  155 |   short sa[cxx11test::get_val()] = { 0 };
#      |         ^~

Error: COMPILER_WARNING (CWE-563): [#def7]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:159:23: warning[-Wunused-variable]: unused variable 'il'
#  159 |   cxx11test::testinit il = { 4323, 435234.23544 };
#      |                       ^~

Error: COMPILER_WARNING (CWE-563): [#def8]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:180:8: warning[-Wunused-variable]: unused variable 'a'
#  180 |   auto a = sum(1);
#      |        ^

Error: CLANG_WARNING: [#def9]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:180:8: warning[deadcode.DeadStores]: Value stored to 'a' during its initialization is never read

Error: COMPILER_WARNING (CWE-563): [#def10]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:181:8: warning[-Wunused-variable]: unused variable 'b'
#  181 |   auto b = sum(1, 2);
#      |        ^

Error: CLANG_WARNING: [#def11]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:181:8: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read

Error: COMPILER_WARNING (CWE-563): [#def12]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:182:8: warning[-Wunused-variable]: unused variable 'c'
#  182 |   auto c = sum(1.0, 2.0, 3.0);
#      |        ^

Error: CLANG_WARNING: [#def13]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:182:8: warning[deadcode.DeadStores]: Value stored to 'c' during its initialization is never read

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

Error: COMPILER_WARNING (CWE-563): [#def15]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:196:9: warning[-Wunused-variable]: unused variable 'c'
#  196 |   char *c = nullptr;
#      |         ^

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

Error: CLANG_WARNING: [#def17]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:204:15: warning[deadcode.DeadStores]: Value stored to 'utf8' during its initialization is never read

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

Error: CLANG_WARNING: [#def19]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:205:19: warning[deadcode.DeadStores]: Value stored to 'utf16' during its initialization is never read

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

Error: CLANG_WARNING: [#def21]
vapoursynth-68-build/vapoursynth-R68/conftest.cpp:206: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-187.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namevapoursynth-68-2.fc41
diffbase-store-results-to/tmp/tmpge7xb8fs/vapoursynth-68-2.fc41.tar.xz
diffbase-time-created2024-07-03 18:19:01
diffbase-time-finished2024-07-03 18:23:14
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpge7xb8fs/vapoursynth-68-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpge7xb8fs/vapoursynth-68-2.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-187.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namevapoursynth-68-2.fc41
store-results-to/tmp/tmpge7xb8fs/vapoursynth-68-2.fc41.tar.xz
time-created2024-07-03 18:19:01
time-finished2024-07-03 18:23:14
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpge7xb8fs/vapoursynth-68-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpge7xb8fs/vapoursynth-68-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9