kf6-knewstuff-6.3.0-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
kf6-knewstuff-6.3.0-build/knewstuff-6.3.0/src/core/commentsmodel.cpp: scope_hint: In lambda function
kf6-knewstuff-6.3.0-build/knewstuff-6.3.0/src/core/commentsmodel.cpp:60:75: warning[-Wdeprecated]: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20
#   60 |                 q->connect(provider.data(), &Provider::commentsLoaded, q, [=](const QList<std::shared_ptr<KNSCore::Comment>> &newComments) {
#      |                                                                           ^
kf6-knewstuff-6.3.0-build/knewstuff-6.3.0/src/core/commentsmodel.cpp:60:75: note: add explicit ‘this’ or ‘*this’ capture
#   58|                   comments.clear();
#   59|                   provider->disconnect(q);
#   60|->                 q->connect(provider.data(), &Provider::commentsLoaded, q, [=](const QList<std::shared_ptr<KNSCore::Comment>> &newComments) {
#   61|                       QList<std::shared_ptr<KNSCore::Comment>> actualNewComments;
#   62|                       for (const std::shared_ptr<KNSCore::Comment> &comment : newComments) {

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
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-203.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf6-knewstuff-6.3.0-1.fc41
store-results-to/tmp/tmpjiqvgdt_/kf6-knewstuff-6.3.0-1.fc41.tar.xz
time-created2024-07-03 14:11:56
time-finished2024-07-03 14:15:06
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpjiqvgdt_/kf6-knewstuff-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpjiqvgdt_/kf6-knewstuff-6.3.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9