kf5-kwayland-5.116.0-2.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/autotests/client/test_remote_access.cpp:133:45: warning[core.CallAndMessage]: Called C++ object pointer is null
#  131|   {
#  132|       // client-bound output
#  133|->     outputs[index] = registry->createOutput(registry->interfaces(Registry::Interface::Output)[index].name,
#  134|                                               registry->interfaces(Registry::Interface::Output)[index].version,
#  135|                                               this);

Error: COMPILER_WARNING (CWE-457): [#def2]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/autotests/client/test_xdg_shell.cpp: scope_hint: In member function ‘XdgShellTest::init()’
kf5-kwayland-5.116.0-build/kwayland-5.116.0/autotests/client/test_xdg_shell.cpp:121:60: warning[-Wmaybe-uninitialized]: ‘iface’ may be used uninitialized
#  121 |     m_xdgShell = registry.createXdgShell(registry.interface(iface).name, registry.interface(iface).version, this);
#      |                                          ~~~~~~~~~~~~~~~~~~^~~~~~~
kf5-kwayland-5.116.0-build/kwayland-5.116.0/autotests/client/test_xdg_shell.cpp:108:25: note: ‘iface’ was declared here
#  108 |     Registry::Interface iface;
#      |                         ^~~~~
#  119|       }
#  120|   
#  121|->     m_xdgShell = registry.createXdgShell(registry.interface(iface).name, registry.interface(iface).version, this);
#  122|       QVERIFY(m_xdgShell);
#  123|       QVERIFY(m_xdgShell->isValid());

Error: COMPILER_WARNING: [#def3]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/buffer_p.h:17:29: warning[-Wodr]: type ‘struct Private’ violates the C++ One Definition Rule
#   17 | class Q_DECL_HIDDEN Buffer::Private
#      |                             ^
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/buffer_p.h:17:29: note: a different type is defined in another translation unit
#   17 | class Q_DECL_HIDDEN Buffer::Private
#      |                             ^
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/buffer_p.h:25:50: note: the first difference of corresponding definitions is field ‘nativeBuffer’
#   25 |     WaylandPointer<wl_buffer, wl_buffer_destroy> nativeBuffer;
#      |                                                  ^
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/buffer_p.h:25:50: note: a field of same name but different type is defined in another translation unit
#   25 |     WaylandPointer<wl_buffer, wl_buffer_destroy> nativeBuffer;
#      |                                                  ^
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/wayland_pointer_p.h:16:7: note: type ‘struct WaylandPointer’ defined in anonymous namespace cannot match across the translation unit boundary
#   16 | class WaylandPointer
#      |       ^
#   15|   namespace Client
#   16|   {
#   17|-> class Q_DECL_HIDDEN Buffer::Private
#   18|   {
#   19|   public:

Error: COMPILER_WARNING: [#def4]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/buffer.cpp:7: included_from: Included from here.
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/buffer_p.h:17:29: warning[-Wsubobject-linkage]: ‘KWayland::Client::Buffer::Private’ has a field ‘KWayland::Client::WaylandPointer<wl_buffer, wl_buffer_destroy> KWayland::Client::Buffer::Private::nativeBuffer’ whose type has internal linkage
#   17 | class Q_DECL_HIDDEN Buffer::Private
#      |                             ^~~~~~~
#   15|   namespace Client
#   16|   {
#   17|-> class Q_DECL_HIDDEN Buffer::Private
#   18|   {
#   19|   public:

Error: COMPILER_WARNING (CWE-704): [#def5]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/buffer_p.h:22:10: warning[-Wlto-type-mismatch]: type of ‘destroy’ does not match original declaration
#   22 |     void destroy();
#      |          ^
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/buffer.cpp:41:6: note: ‘destroy’ was previously declared here
#   41 | void Buffer::Private::destroy()
#      |      ^
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/buffer.cpp:41:6: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   20|       Private(Buffer *q, ShmPool *parent, wl_buffer *nativeBuffer, const QSize &size, int32_t stride, size_t offset, Format format);
#   21|       ~Private();
#   22|->     void destroy();
#   23|   
#   24|       ShmPool *shm;

Error: COMPILER_WARNING (CWE-909): [#def6]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/plasmawindowmanagement.cpp:159:1: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_management_listener::stacking_order_changed_2’
#  159 | };
#      | ^
#  157|       stackingOrderUuidsCallback,
#  158|       windowWithUuidCallback,
#  159|-> };
#  160|   
#  161|   void PlasmaWindowManagement::Private::setup(org_kde_plasma_window_management *windowManagement)

Error: COMPILER_WARNING (CWE-909): [#def7]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/pointer.cpp:72:155: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_pointer_listener::axis_relative_direction’
#   70|   
#   71|   const wl_pointer_listener Pointer::Private::s_listener =
#   72|->     {enterCallback, leaveCallback, motionCallback, buttonCallback, axisCallback, frameCallback, axisSourceCallback, axisStopCallback, axisDiscreteCallback};
#   73|   
#   74|   Pointer::Pointer(QObject *parent)

Error: COMPILER_WARNING (CWE-909): [#def8]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/pointer.cpp:72:155: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_pointer_listener::axis_value120’
#   72 |     {enterCallback, leaveCallback, motionCallback, buttonCallback, axisCallback, frameCallback, axisSourceCallback, axisStopCallback, axisDiscreteCallback};
#      |                                                                                                                                                           ^
#   70|   
#   71|   const wl_pointer_listener Pointer::Private::s_listener =
#   72|->     {enterCallback, leaveCallback, motionCallback, buttonCallback, axisCallback, frameCallback, axisSourceCallback, axisStopCallback, axisDiscreteCallback};
#   73|   
#   74|   Pointer::Pointer(QObject *parent)

Error: COMPILER_WARNING (CWE-909): [#def9]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/surface.cpp:86:101: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_surface_listener::preferred_buffer_scale’
#   86 | const struct wl_surface_listener Surface::Private::s_surfaceListener = {enterCallback, leaveCallback};
#      |                                                                                                     ^
#   84|   const struct wl_callback_listener Surface::Private::s_listener = {frameCallback};
#   85|   
#   86|-> const struct wl_surface_listener Surface::Private::s_surfaceListener = {enterCallback, leaveCallback};
#   87|   #endif
#   88|   

Error: COMPILER_WARNING (CWE-909): [#def10]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/surface.cpp:86:101: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_surface_listener::preferred_buffer_transform’
#   84|   const struct wl_callback_listener Surface::Private::s_listener = {frameCallback};
#   85|   
#   86|-> const struct wl_surface_listener Surface::Private::s_surfaceListener = {enterCallback, leaveCallback};
#   87|   #endif
#   88|   

Error: COMPILER_WARNING: [#def11]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/surface_p.h:18:30: warning[-Wodr]: type ‘struct Private’ violates the C++ One Definition Rule
#   18 | class Q_DECL_HIDDEN Surface::Private
#      |                              ^
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/surface_p.h:18:30: note: a different type is defined in another translation unit
#   18 | class Q_DECL_HIDDEN Surface::Private
#      |                              ^
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/surface_p.h:24:52: note: the first difference of corresponding definitions is field ‘surface’
#   24 |     WaylandPointer<wl_surface, wl_surface_destroy> surface;
#      |                                                    ^
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/surface_p.h:24:52: note: a field of same name but different type is defined in another translation unit
#   24 |     WaylandPointer<wl_surface, wl_surface_destroy> surface;
#      |                                                    ^
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/wayland_pointer_p.h:16:7: note: type ‘struct WaylandPointer’ defined in anonymous namespace cannot match across the translation unit boundary
#   16 | class WaylandPointer
#      |       ^
#   16|   namespace Client
#   17|   {
#   18|-> class Q_DECL_HIDDEN Surface::Private
#   19|   {
#   20|   public:

Error: COMPILER_WARNING: [#def12]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/surface.cpp:9: included_from: Included from here.
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/surface_p.h:18:30: warning[-Wsubobject-linkage]: ‘KWayland::Client::Surface::Private’ has a field ‘KWayland::Client::WaylandPointer<wl_surface, wl_surface_destroy> KWayland::Client::Surface::Private::surface’ whose type has internal linkage
#   18 | class Q_DECL_HIDDEN Surface::Private
#      |                              ^~~~~~~
#   16|   namespace Client
#   17|   {
#   18|-> class Q_DECL_HIDDEN Surface::Private
#   19|   {
#   20|   public:

Error: COMPILER_WARNING (CWE-909): [#def13]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/touch.cpp:127:126: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_touch_listener::orientation’
#  125|   }
#  126|   
#  127|-> const wl_touch_listener Touch::Private::s_listener = {downCallback, upCallback, motionCallback, frameCallback, cancelCallback};
#  128|   
#  129|   void Touch::Private::downCallback(void *data, wl_touch *touch, uint32_t serial, uint32_t time, wl_surface *surface, int32_t id, wl_fixed_t x, wl_fixed_t y)

Error: COMPILER_WARNING (CWE-909): [#def14]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/touch.cpp:127:126: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_touch_listener::shape’
#  127 | const wl_touch_listener Touch::Private::s_listener = {downCallback, upCallback, motionCallback, frameCallback, cancelCallback};
#      |                                                                                                                              ^
#  125|   }
#  126|   
#  127|-> const wl_touch_listener Touch::Private::s_listener = {downCallback, upCallback, motionCallback, frameCallback, cancelCallback};
#  128|   
#  129|   void Touch::Private::downCallback(void *data, wl_touch *touch, uint32_t serial, uint32_t time, wl_surface *surface, int32_t id, wl_fixed_t x, wl_fixed_t y)

Error: COMPILER_WARNING: [#def15]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_v6.cpp:11: included_from: Included from here.
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_p.h:64:28: warning[-Woverloaded-virtual=]: ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShell::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::Surface*, KWayland::Client::Seat*, quint32, const QPoint&, QObject*)’ was hidden
#   64 |     virtual XdgShellPopup *getXdgPopup(Surface *surface, Surface *parentSurface, Seat *seat, quint32 serial, const QPoint &parentPos, QObject *parent)
#      |                            ^~~~~~~~~~~
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_v6.cpp:30:20: note:   by ‘KWayland::Client::XdgShellUnstableV6::Private::getXdgPopup’
#   30 |     XdgShellPopup *getXdgPopup(Surface *surface, XdgShellPopup *parentSurface, const XdgPositioner &positioner, QObject *parent) override;
#      |                    ^~~~~~~~~~~
#   62|       virtual XdgShellSurface *getXdgSurface(Surface *surface, QObject *parent) = 0;
#   63|   
#   64|->     virtual XdgShellPopup *getXdgPopup(Surface *surface, Surface *parentSurface, Seat *seat, quint32 serial, const QPoint &parentPos, QObject *parent)
#   65|       {
#   66|           Q_UNUSED(surface)

Error: COMPILER_WARNING: [#def16]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_p.h:76:28: warning[-Woverloaded-virtual=]: ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShell::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::XdgShellSurface*, const KWayland::Client::XdgPositioner&, QObject*)’ was hidden
#   76 |     virtual XdgShellPopup *getXdgPopup(Surface *surface, XdgShellSurface *parentSurface, const XdgPositioner &positioner, QObject *parent)
#      |                            ^~~~~~~~~~~
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_v5.cpp:26:20: note:   by ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShellUnstableV5::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::Surface*, KWayland::Client::Seat*, quint32, const QPoint&, QObject*)’
#   26 |     XdgShellPopup *getXdgPopup(Surface *surface, Surface *parentSurface, Seat *seat, quint32 serial, const QPoint &parentPos, QObject *parent) override;
#      |                    ^~~~~~~~~~~
#   74|       };
#   75|   
#   76|->     virtual XdgShellPopup *getXdgPopup(Surface *surface, XdgShellSurface *parentSurface, const XdgPositioner &positioner, QObject *parent)
#   77|       {
#   78|           Q_UNUSED(surface)

Error: COMPILER_WARNING: [#def17]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_v5.cpp:12: included_from: Included from here.
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_p.h:86:28: warning[-Woverloaded-virtual=]: ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShell::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::XdgShellPopup*, const KWayland::Client::XdgPositioner&, QObject*)’ was hidden
#   86 |     virtual XdgShellPopup *getXdgPopup(Surface *surface, XdgShellPopup *parentSurface, const XdgPositioner &positioner, QObject *parent)
#      |                            ^~~~~~~~~~~
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_v5.cpp:26:20: note:   by ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShellUnstableV5::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::Surface*, KWayland::Client::Seat*, quint32, const QPoint&, QObject*)’
#   26 |     XdgShellPopup *getXdgPopup(Surface *surface, Surface *parentSurface, Seat *seat, quint32 serial, const QPoint &parentPos, QObject *parent) override;
#      |                    ^~~~~~~~~~~
#   84|       }
#   85|   
#   86|->     virtual XdgShellPopup *getXdgPopup(Surface *surface, XdgShellPopup *parentSurface, const XdgPositioner &positioner, QObject *parent)
#   87|       {
#   88|           Q_UNUSED(surface)

Error: COMPILER_WARNING (CWE-909): [#def18]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_stable.cpp:288:118: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_toplevel_listener::configure_bounds’
#  288 | const struct xdg_toplevel_listener XdgTopLevelStable::Private::s_toplevelListener = {configureCallback, closeCallback};
#      |                                                                                                                      ^
#  286|   };
#  287|   
#  288|-> const struct xdg_toplevel_listener XdgTopLevelStable::Private::s_toplevelListener = {configureCallback, closeCallback};
#  289|   
#  290|   const struct xdg_surface_listener XdgTopLevelStable::Private::s_surfaceListener = {surfaceConfigureCallback};

Error: COMPILER_WARNING (CWE-909): [#def19]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_stable.cpp:288:118: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_toplevel_listener::wm_capabilities’
#  286|   };
#  287|   
#  288|-> const struct xdg_toplevel_listener XdgTopLevelStable::Private::s_toplevelListener = {configureCallback, closeCallback};
#  289|   
#  290|   const struct xdg_surface_listener XdgTopLevelStable::Private::s_surfaceListener = {surfaceConfigureCallback};

Error: COMPILER_WARNING (CWE-909): [#def20]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/client/xdgshell_stable.cpp:527:118: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_popup_listener::repositioned’
#  527 | const struct xdg_popup_listener XdgShellPopupStable::Private::s_popupListener = {configureCallback, popupDoneCallback};
#      |                                                                                                                      ^
#  525|   };
#  526|   
#  527|-> const struct xdg_popup_listener XdgShellPopupStable::Private::s_popupListener = {configureCallback, popupDoneCallback};
#  528|   
#  529|   const struct xdg_surface_listener XdgShellPopupStable::Private::s_surfaceListener = {

Error: COMPILER_WARNING (CWE-909): [#def21]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/contrast_interface.cpp:154:132: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_kwin_contrast_interface::set_frost’
#  154 |     {commitCallback, setRegionCallback, setContrastCallback, setIntensityCallback, setSaturationCallback, resourceDestroyedCallback};
#      |                                                                                                                                    ^
#  152|   #ifndef K_DOXYGEN
#  153|   const struct org_kde_kwin_contrast_interface ContrastInterface::Private::s_interface =
#  154|->     {commitCallback, setRegionCallback, setContrastCallback, setIntensityCallback, setSaturationCallback, resourceDestroyedCallback};
#  155|   #endif
#  156|   

Error: COMPILER_WARNING (CWE-909): [#def22]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/contrast_interface.cpp:154:132: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_kwin_contrast_interface::unset_frost’
#  152|   #ifndef K_DOXYGEN
#  153|   const struct org_kde_kwin_contrast_interface ContrastInterface::Private::s_interface =
#  154|->     {commitCallback, setRegionCallback, setContrastCallback, setIntensityCallback, setSaturationCallback, resourceDestroyedCallback};
#  155|   #endif
#  156|   

Error: COMPILER_WARNING (CWE-909): [#def23]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/fakeinput_interface.cpp:76:111: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_kwin_fake_input_interface::destroy’
#   76 |                                                                                            keyboardKeyCallback};
#      |                                                                                                               ^
#   74|                                                                                              touchFrameCallback,
#   75|                                                                                              pointerMotionAbsoluteCallback,
#   76|->                                                                                            keyboardKeyCallback};
#   77|   #endif
#   78|   

Error: COMPILER_WARNING (CWE-909): [#def24]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/keystate_interface.cpp:70:108: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_kwin_keystate_interface::destroy’
#   70 | const struct org_kde_kwin_keystate_interface KeyStateInterface::Private::s_interface = {fetchStatesCallback};
#      |                                                                                                            ^
#   68|   KeyStateInterface::~KeyStateInterface() = default;
#   69|   
#   70|-> const struct org_kde_kwin_keystate_interface KeyStateInterface::Private::s_interface = {fetchStatesCallback};
#   71|   
#   72|   void KeyStateInterface::setState(KeyStateInterface::Key key, KeyStateInterface::State state)

Error: COMPILER_WARNING (CWE-909): [#def25]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/linuxdmabuf_v1_interface.cpp:175:102: warning[-Wmissing-field-initializers]: missing initializer for member ‘zwp_linux_dmabuf_v1_interface::get_default_feedback’
#  175 |                                                                                  createParamsCallback};
#      |                                                                                                      ^
#  173|                                                                                        wl_resource_destroy(resource);
#  174|                                                                                    }, // unbind
#  175|->                                                                                  createParamsCallback};
#  176|   
#  177|   const struct wl_buffer_interface V1Iface::Private::s_bufferImplementation = {

Error: COMPILER_WARNING (CWE-909): [#def26]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/linuxdmabuf_v1_interface.cpp:175:102: warning[-Wmissing-field-initializers]: missing initializer for member ‘zwp_linux_dmabuf_v1_interface::get_surface_feedback’
#  173|                                                                                        wl_resource_destroy(resource);
#  174|                                                                                    }, // unbind
#  175|->                                                                                  createParamsCallback};
#  176|   
#  177|   const struct wl_buffer_interface V1Iface::Private::s_bufferImplementation = {

Error: CLANG_WARNING: [#def27]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/linuxdmabuf_v1_interface.cpp:440:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'params'
#  438|           delete params;
#  439|       }
#  440|-> }
#  441|   
#  442|   void V1Iface::Private::createParamsCallback(wl_client *client, wl_resource *resource, uint32_t id)

Error: COMPILER_WARNING (CWE-909): [#def28]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/plasmashell_interface.cpp:152:123: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_surface_interface::open_under_cursor’
#  152 |                                                                                                    setSkipSwitcherCallback};
#      |                                                                                                                           ^
#  150|                                                                                                      panelAutoHideShowCallback,
#  151|                                                                                                      panelTakesFocusCallback,
#  152|->                                                                                                    setSkipSwitcherCallback};
#  153|   #endif
#  154|   

Error: COMPILER_WARNING (CWE-909): [#def29]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/plasmawindowmanagement_interface.cpp:132:137: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_management_interface::get_stacking_order’
#  132 |                                                                                                                  getWindowByUuidCallback};
#      |                                                                                                                                         ^
#  130|   const struct org_kde_plasma_window_management_interface PlasmaWindowManagementInterface::Private::s_interface = {showDesktopCallback,
#  131|                                                                                                                    getWindowCallback,
#  132|->                                                                                                                  getWindowByUuidCallback};
#  133|   #endif
#  134|   

Error: COMPILER_WARNING (CWE-909): [#def30]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/plasmawindowmanagement_interface.cpp:344:127: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_interface::request_enter_activity’
#  344 |                                                                                             requestLeaveVirtualDesktopCallback};
#      |                                                                                                                               ^
#  342|                                                                                               requestEnterVirtualDesktopCallback,
#  343|                                                                                               requestEnterNewVirtualDesktopCallback,
#  344|->                                                                                             requestLeaveVirtualDesktopCallback};
#  345|   #endif
#  346|   

Error: COMPILER_WARNING (CWE-909): [#def31]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/plasmawindowmanagement_interface.cpp:344:127: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_interface::request_leave_activity’
#  342|                                                                                               requestEnterVirtualDesktopCallback,
#  343|                                                                                               requestEnterNewVirtualDesktopCallback,
#  344|->                                                                                             requestLeaveVirtualDesktopCallback};
#  345|   #endif
#  346|   

Error: COMPILER_WARNING (CWE-909): [#def32]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/plasmawindowmanagement_interface.cpp:344:127: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_interface::send_to_output’
#  342|                                                                                               requestEnterVirtualDesktopCallback,
#  343|                                                                                               requestEnterNewVirtualDesktopCallback,
#  344|->                                                                                             requestLeaveVirtualDesktopCallback};
#  345|   #endif
#  346|   

Error: COMPILER_WARNING (CWE-909): [#def33]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/pointergestures_interface_v1.cpp:44:156: warning[-Wmissing-field-initializers]: missing initializer for member ‘zwp_pointer_gestures_v1_interface::get_hold_gesture’
#   42|   
#   43|   #ifndef K_DOXYGEN
#   44|-> const struct zwp_pointer_gestures_v1_interface PointerGesturesUnstableV1Interface::Private::s_interface = {getSwipeGestureCallback, getPinchGestureCallback};
#   45|   #endif
#   46|   

Error: COMPILER_WARNING (CWE-909): [#def34]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/pointergestures_interface_v1.cpp:44:156: warning[-Wmissing-field-initializers]: missing initializer for member ‘zwp_pointer_gestures_v1_interface::release’
#   44 | const struct zwp_pointer_gestures_v1_interface PointerGesturesUnstableV1Interface::Private::s_interface = {getSwipeGestureCallback, getPinchGestureCallback};
#      |                                                                                                                                                            ^
#   42|   
#   43|   #ifndef K_DOXYGEN
#   44|-> const struct zwp_pointer_gestures_v1_interface PointerGesturesUnstableV1Interface::Private::s_interface = {getSwipeGestureCallback, getPinchGestureCallback};
#   45|   #endif
#   46|   

Error: COMPILER_WARNING (CWE-909): [#def35]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/surface_interface.cpp:255:97: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_surface_interface::offset’
#  255 |                                                                             damageBufferCallback};
#      |                                                                                                 ^
#  253|                                                                               bufferTransformCallback,
#  254|                                                                               bufferScaleCallback,
#  255|->                                                                             damageBufferCallback};
#  256|   #endif
#  257|   

Error: CLANG_WARNING: [#def36]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/textinput_interface_v0.cpp:260:10: warning[deadcode.DeadStores]: Value stored to 'p' during its initialization is never read
#  258|       Q_UNUSED(index)
#  259|       // TODO: implement
#  260|->     auto p = cast<Private>(resource);
#  261|       Q_ASSERT(*p->client == client);
#  262|   }

Error: COMPILER_WARNING (CWE-909): [#def37]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/xdgshell_stable_interface.cpp:608:110: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_positioner_interface::set_parent_configure’
#  606|                                                                                               setGravityCallback,
#  607|                                                                                               setConstraintAdjustmentCallback,
#  608|->                                                                                             setOffsetCallback};
#  609|   #endif
#  610|   

Error: COMPILER_WARNING (CWE-909): [#def38]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/xdgshell_stable_interface.cpp:608:110: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_positioner_interface::set_parent_size’
#  606|                                                                                               setGravityCallback,
#  607|                                                                                               setConstraintAdjustmentCallback,
#  608|->                                                                                             setOffsetCallback};
#  609|   #endif
#  610|   

Error: COMPILER_WARNING (CWE-909): [#def39]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/xdgshell_stable_interface.cpp:608:110: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_positioner_interface::set_reactive’
#  608 |                                                                                             setOffsetCallback};
#      |                                                                                                              ^
#  606|                                                                                               setGravityCallback,
#  607|                                                                                               setConstraintAdjustmentCallback,
#  608|->                                                                                             setOffsetCallback};
#  609|   #endif
#  610|   

Error: COMPILER_WARNING (CWE-909): [#def40]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/server/xdgshell_stable_interface.cpp:924:122: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_popup_interface::reposition’
#  924 | const struct xdg_popup_interface XdgPopupStableInterface::Private::s_interface = {resourceDestroyedCallback, grabCallback};
#      |                                                                                                                          ^
#  922|   
#  923|   #ifndef K_DOXYGEN
#  924|-> const struct xdg_popup_interface XdgPopupStableInterface::Private::s_interface = {resourceDestroyedCallback, grabCallback};
#  925|   #endif
#  926|   

Error: CLANG_WARNING: [#def41]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/tools/generator.cpp:504:9: warning[core.CallAndMessage]: Called C++ object pointer is null
#  502|       connect(proc, static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), this, [this, proc] {
#  503|           QMutexLocker locker(&m_mutex);
#  504|->         m_authorName = QString::fromLocal8Bit(proc->readAllStandardOutput()).trimmed();
#  505|           proc->deleteLater();
#  506|           m_waitCondition.wakeAll();

Error: CLANG_WARNING: [#def42]
kf5-kwayland-5.116.0-build/kwayland-5.116.0/src/tools/generator.cpp:522:9: warning[core.CallAndMessage]: Called C++ object pointer is null
#  520|       connect(proc, static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), this, [this, proc] {
#  521|           QMutexLocker locker(&m_mutex);
#  522|->         m_authorEmail = QString::fromLocal8Bit(proc->readAllStandardOutput()).trimmed();
#  523|           proc->deleteLater();
#  524|           m_waitCondition.wakeAll();

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-178.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf5-kwayland-5.116.0-2.fc41
store-results-to/tmp/tmp7foepgo2/kf5-kwayland-5.116.0-2.fc41.tar.xz
time-created2024-07-03 14:00:01
time-finished2024-07-03 14:05:09
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp7foepgo2/kf5-kwayland-5.116.0-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp7foepgo2/kf5-kwayland-5.116.0-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9