Task #705 - kscreen-6.1.1-1.fc41/scan-results.err

back to task #705
download
Error: COMPILER_WARNING (CWE-563):
kscreen-6.1.1-build/kscreen-6.1.1/kcm/config_handler.cpp: scope_hint: In lambda function
kscreen-6.1.1-build/kscreen-6.1.1/kcm/config_handler.cpp:48:87: warning[-Wunused-parameter]: unused parameter ‘topLeft’
#   48 |     connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
#      |                                                                    ~~~~~~~~~~~~~~~~~~~^~~~~~~
#   46|       m_lastNormalizedScreenSize = screenSize();
#   47|   
#   48|->     connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
#   49|           Q_UNUSED(bottomRight)
#   50|           // Do not run checks during interactive reaarange

Error: COMPILER_WARNING (CWE-563):
kscreen-6.1.1-build/kscreen-6.1.1/kcm/config_handler.cpp:48:146: warning[-Wunused-parameter]: unused parameter ‘roles’
#   48 |     connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
#      |                                                                                                                                ~~~~~~~~~~~~~~~~~~^~~~~
#   46|       m_lastNormalizedScreenSize = screenSize();
#   47|   
#   48|->     connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
#   49|           Q_UNUSED(bottomRight)
#   50|           // Do not run checks during interactive reaarange

Error: CLANG_WARNING:
kscreen-6.1.1-build/kscreen-6.1.1/kded/daemon.cpp:175:1: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  173|           }
#  174|       });
#  175|-> }
#  176|   
#  177|   void KScreenDaemon::applyConfig()