Task #1400 - kf5-kcoreaddons-5.115.0-1.fc40/scan-results.err
back to task #1400download
Error: COMPILER_WARNING: kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kdirwatch_unittest.cpp: scope_hint: In member function ‘QList<QList<QVariant> > KDirWatch_UnitTest::waitForDirtySignal(KDirWatch&, int)’ kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kdirwatch_unittest.cpp:163:29: warning[-Wredundant-move]: redundant move in return statement # 163 | return std::move(spyDirty); # | ~~~~~~~~~^~~~~~~~~~ kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kdirwatch_unittest.cpp:163:29: note: remove ‘std::move’ call # 161| if (++numTries > s_maxTries) { # 162| qWarning() << "Timeout waiting for KDirWatch. Got" << spyDirty.count() << "dirty() signals, expected" << expected; # 163|-> return std::move(spyDirty); # 164| } # 165| spyDirty.wait(50); Error: COMPILER_WARNING: kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kdirwatch_unittest.cpp:167:21: warning[-Wredundant-move]: redundant move in return statement # 167 | return std::move(spyDirty); # | ~~~~~~~~~^~~~~~~~~~ kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kdirwatch_unittest.cpp:167:21: note: remove ‘std::move’ call # 165| spyDirty.wait(50); # 166| } # 167|-> return std::move(spyDirty); # 168| } # 169| Error: COMPILER_WARNING: kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kdirwatch_unittest.cpp: scope_hint: In member function ‘QList<QList<QVariant> > KDirWatch_UnitTest::waitForDeletedSignal(KDirWatch&, int)’ kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kdirwatch_unittest.cpp:251:29: warning[-Wredundant-move]: redundant move in return statement # 251 | return std::move(spyDeleted); # | ~~~~~~~~~^~~~~~~~~~~~ kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kdirwatch_unittest.cpp:251:29: note: remove ‘std::move’ call # 249| if (++numTries > s_maxTries) { # 250| qWarning() << "Timeout waiting for KDirWatch. Got" << spyDeleted.count() << "deleted() signals, expected" << expected; # 251|-> return std::move(spyDeleted); # 252| } # 253| spyDeleted.wait(50); Error: COMPILER_WARNING: kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kdirwatch_unittest.cpp:255:21: warning[-Wredundant-move]: redundant move in return statement # 255 | return std::move(spyDeleted); # | ~~~~~~~~~^~~~~~~~~~~~ kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kdirwatch_unittest.cpp:255:21: note: remove ‘std::move’ call # 253| spyDeleted.wait(50); # 254| } # 255|-> return std::move(spyDeleted); # 256| } # 257| Error: CLANG_WARNING: kf5-kcoreaddons-5.115.0-build/kcoreaddons-5.115.0/autotests/kjobtest.cpp:450:5: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'job2' # 448| QPointer<TestJobUiDelegate> guard(delegate); # 449| # 450|-> QVERIFY(job1->uiDelegate() == nullptr); # 451| job1->setUiDelegate(delegate); # 452| QVERIFY(job1->uiDelegate() == delegate);