Task #1052 - added.err

back to task #1052
download
Error: COMPILER_WARNING (CWE-563):
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/keyboardmodel.cpp: scope_hint: In member function ‘virtual int KeyboardModel::rowCount(const QModelIndex&) const’
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/keyboardmodel.cpp:19:48: warning[-Wunused-parameter]: unused parameter ‘parent’
#   19 | int KeyboardModel::rowCount(const QModelIndex &parent) const
#      |                             ~~~~~~~~~~~~~~~~~~~^~~~~~
#   17|   }
#   18|   
#   19|-> int KeyboardModel::rowCount(const QModelIndex &parent) const
#   20|   {
#   21|       if (!m_rules)

Error: COMPILER_WARNING (CWE-563):
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/layoutmodel.cpp: scope_hint: In member function ‘virtual int LayoutModel::rowCount(const QModelIndex&) const’
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/layoutmodel.cpp:29:46: warning[-Wunused-parameter]: unused parameter ‘parent’
#   29 | int LayoutModel::rowCount(const QModelIndex &parent) const
#      |                           ~~~~~~~~~~~~~~~~~~~^~~~~~
#   27|   }
#   28|   
#   29|-> int LayoutModel::rowCount(const QModelIndex &parent) const
#   30|   {
#   31|       return m_data.count();

Error: COMPILER_WARNING (CWE-563):
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/userlayoutmodel.cpp: scope_hint: In member function ‘virtual int UserLayoutModel::rowCount(const QModelIndex&) const’
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/userlayoutmodel.cpp:29:50: warning[-Wunused-parameter]: unused parameter ‘parent’
#   29 | int UserLayoutModel::rowCount(const QModelIndex &parent) const
#      |                               ~~~~~~~~~~~~~~~~~~~^~~~~~
#   27|   }
#   28|   
#   29|-> int UserLayoutModel::rowCount(const QModelIndex &parent) const
#   30|   {
#   31|       return m_config->layouts().count();