Task #628 - kf6-baloo-6.3.0-1.fc41/scan-results.err
back to task #628download
Error: COMPILER_WARNING (CWE-477): kf6-baloo-6.3.0-build/baloo-6.3.0/src/file/extractorprocess.cpp: scope_hint: In lambda function kf6-baloo-6.3.0-build/baloo-6.3.0/src/file/extractorprocess.cpp:34:93: warning[-Wdeprecated]: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 # 34 | connect(&m_extractorProcess, qOverload<int, QProcess::ExitStatus>(&QProcess::finished), [=](int exitCode, QProcess::ExitStatus exitStatus) { # | ^ kf6-baloo-6.3.0-build/baloo-6.3.0/src/file/extractorprocess.cpp:34:93: note: add explicit ‘this’ or ‘*this’ capture # 32| }); # 33| # 34|-> connect(&m_extractorProcess, qOverload<int, QProcess::ExitStatus>(&QProcess::finished), [=](int exitCode, QProcess::ExitStatus exitStatus) { # 35| if (exitStatus == QProcess::CrashExit) { # 36| qCWarning(BALOO) << "Extractor crashed"; Error: COMPILER_WARNING (CWE-457): kf6-baloo-6.3.0-build/baloo-6.3.0/src/lib/searchstore.cpp: scope_hint: In member function ‘Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&)’ kf6-baloo-6.3.0-build/baloo-6.3.0/src/lib/searchstore.cpp:402:39: warning[-Wmaybe-uninitialized]: ‘pcom’ may be used uninitialized # 402 | return tr->postingCompIterator(prefix, ba, pcom); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ kf6-baloo-6.3.0-build/baloo-6.3.0/src/lib/searchstore.cpp:375:27: note: ‘pcom’ was declared here # 375 | PostingDB::Comparator pcom; # | ^~~~ # 400| QDateTime dt = value.toDateTime(); # 401| const QByteArray ba = dt.toString(Qt::ISODate).toUtf8(); # 402|-> return tr->postingCompIterator(prefix, ba, pcom); # 403| # 404| } else {