Error: COMPILER_WARNING (CWE-252): [#def1] kf6-kirigami-addons-1.2.1-build/kirigami-addons-1.2.1/src/components/nameutils.cpp: scope_hint: In member function ‘bool NameUtils::isStringUnsuitableForInitials(const QString&)’ kf6-kirigami-addons-1.2.1-build/kirigami-addons-1.2.1/src/components/nameutils.cpp:162:16: warning[-Wunused-result]: ignoring return value of ‘bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = const QChar*; _Predicate = NameUtils::isStringUnsuitableForInitials(const QString&)::<lambda(const QChar&)>]’, declared with attribute ‘nodiscard’ # 162 | std::any_of(string.cbegin(), string.cend(), [](const QChar &character) { # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 163 | return std::find(scripts.begin(), scripts.end(), character.script()) == scripts.end(); # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 164 | }); # | ~~ /usr/include/c++/14/algorithm:61: included_from: Included from here. /usr/include/qt6/QtCore/qcontainertools_impl.h:22: included_from: Included from here. /usr/include/qt6/QtCore/qarraydataops.h:9: included_from: Included from here. /usr/include/qt6/QtCore/qarraydatapointer.h:7: included_from: Included from here. /usr/include/qt6/QtCore/qlist.h:8: included_from: Included from here. /usr/include/qt6/QtCore/qstringlist.h:5: included_from: Included from here. /usr/include/qt6/QtGui/qcolor.h:10: included_from: Included from here. /usr/include/qt6/QtGui/QColor:1: included_from: Included from here. kf6-kirigami-addons-1.2.1-build/kirigami-addons-1.2.1/src/components/nameutils.h:7: included_from: Included from here. kf6-kirigami-addons-1.2.1-build/kirigami-addons-1.2.1/src/components/nameutils.cpp:5: included_from: Included from here. /usr/include/c++/14/bits/stl_algo.h:447:5: note: declared here # 447 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ # 160| QChar::Script_Han, QChar::Script_Hangul, QChar::Script_Cyrillic}; # 161| # 162|-> std::any_of(string.cbegin(), string.cend(), [](const QChar &character) { # 163| return std::find(scripts.begin(), scripts.end(), character.script()) == scripts.end(); # 164| });
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-13.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | kf6-kirigami-addons-1.1.0-1.fc40 |
diffbase-store-results-to | /tmp/tmpf9ei7hwm/kf6-kirigami-addons-1.1.0-1.fc40.tar.xz |
diffbase-time-created | 2024-07-03 14:08:51 |
diffbase-time-finished | 2024-07-03 14:12:30 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpf9ei7hwm/kf6-kirigami-addons-1.1.0-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpf9ei7hwm/kf6-kirigami-addons-1.1.0-1.fc40.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-13.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kf6-kirigami-addons-1.2.1-1.fc41 |
store-results-to | /tmp/tmpfcja57rv/kf6-kirigami-addons-1.2.1-1.fc41.tar.xz |
time-created | 2024-07-03 14:12:58 |
time-finished | 2024-07-03 14:16:14 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpfcja57rv/kf6-kirigami-addons-1.2.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpfcja57rv/kf6-kirigami-addons-1.2.1-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |