kwin-x11-6.1.1.2-1.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/3rdparty/xcursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-909): [#def2]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_connector.cpp: scope_hint: In member function ‘std::shared_ptr<KWin::DrmConnectorMode> KWin::DrmConnector::generateMode(const QSize&, float)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_connector.cpp:434:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘_drmModeModeInfo::hskew’
# 434 | };
# | ^
# 432| .flags = modeInfo->mode_flags,
# 433| .type = DRM_MODE_TYPE_USERDEF,
# 434|-> };
# 435|
# 436| sprintf(mode.name, "%dx%d@%d", size.width(), size.height(), mode.vrefresh);
Error: COMPILER_WARNING (CWE-909): [#def3]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_connector.cpp:434:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘_drmModeModeInfo::name’
# 432| .flags = modeInfo->mode_flags,
# 433| .type = DRM_MODE_TYPE_USERDEF,
# 434|-> };
# 435|
# 436| sprintf(mode.name, "%dx%d@%d", size.width(), size.height(), mode.vrefresh);
Error: CLANG_WARNING: [#def4]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_pipeline_legacy.cpp:106:13: warning[core.CallAndMessage]: Called C++ object pointer is null
# 104| if (activePending()) {
# 105| const bool shouldEnableVrr = m_pending.presentationMode == PresentationMode::AdaptiveSync || m_pending.presentationMode == PresentationMode::AdaptiveAsync;
# 106|-> if (m_pending.crtc->vrrEnabled.isValid() && !m_pending.crtc->vrrEnabled.setPropertyLegacy(shouldEnableVrr)) {
# 107| qCWarning(KWIN_DRM) << "Setting vrr failed!" << strerror(errno);
# 108| return errnoToError();
Error: COMPILER_WARNING (CWE-909): [#def5]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::capabilities’
# 32| .name = QStringLiteral("Virtual-") + name,
# 33| .physicalSize = size,
# 34|-> });
# 35|
# 36| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def6]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::edid’
# 32| .name = QStringLiteral("Virtual-") + name,
# 33| .physicalSize = size,
# 34|-> });
# 35|
# 36| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def7]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::eisaId’
# 32| .name = QStringLiteral("Virtual-") + name,
# 33| .physicalSize = size,
# 34|-> });
# 35|
# 36| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def8]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp: scope_hint: In constructor ‘KWin::DrmVirtualOutput::DrmVirtualOutput(const QString&, KWin::DrmGpu*, const QSize&, qreal)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::manufacturer’
# 34 | });
# | ^
# 32| .name = QStringLiteral("Virtual-") + name,
# 33| .physicalSize = size,
# 34|-> });
# 35|
# 36| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def9]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxAverageBrightness’
# 32| .name = QStringLiteral("Virtual-") + name,
# 33| .physicalSize = size,
# 34|-> });
# 35|
# 36| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def10]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxPeakBrightness’
# 32| .name = QStringLiteral("Virtual-") + name,
# 33| .physicalSize = size,
# 34|-> });
# 35|
# 36| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def11]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::model’
# 32| .name = QStringLiteral("Virtual-") + name,
# 33| .physicalSize = size,
# 34|-> });
# 35|
# 36| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def12]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::mstPath’
# 32| .name = QStringLiteral("Virtual-") + name,
# 33| .physicalSize = size,
# 34|-> });
# 35|
# 36| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def13]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::serialNumber’
# 32| .name = QStringLiteral("Virtual-") + name,
# 33| .physicalSize = size,
# 34|-> });
# 35|
# 36| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def14]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:40:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::desiredModeSize’
# 38| .modes = {mode},
# 39| .currentMode = mode,
# 40|-> });
# 41|
# 42| recreateSurface();
Error: COMPILER_WARNING (CWE-909): [#def15]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:40:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::iccProfilePath’
# 38| .modes = {mode},
# 39| .currentMode = mode,
# 40|-> });
# 41|
# 42| recreateSurface();
Error: COMPILER_WARNING (CWE-909): [#def16]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:40:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::iccProfile’
# 38| .modes = {mode},
# 39| .currentMode = mode,
# 40|-> });
# 41|
# 42| recreateSurface();
Error: COMPILER_WARNING (CWE-909): [#def17]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:40:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::maxAverageBrightnessOverride’
# 38| .modes = {mode},
# 39| .currentMode = mode,
# 40|-> });
# 41|
# 42| recreateSurface();
Error: COMPILER_WARNING (CWE-909): [#def18]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:40:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::maxPeakBrightnessOverride’
# 38| .modes = {mode},
# 39| .currentMode = mode,
# 40|-> });
# 41|
# 42| recreateSurface();
Error: COMPILER_WARNING (CWE-909): [#def19]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:40:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::minBrightnessOverride’
# 38| .modes = {mode},
# 39| .currentMode = mode,
# 40|-> });
# 41|
# 42| recreateSurface();
Error: COMPILER_WARNING (CWE-909): [#def20]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/drm/drm_virtual_output.cpp:40:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::position’
# 40 | });
# | ^
# 38| .modes = {mode},
# 39| .currentMode = mode,
# 40|-> });
# 41|
# 42| recreateSurface();
Error: COMPILER_WARNING (CWE-457): [#def21]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/libinput/connection.cpp: scope_hint: In function ‘KWin::LibInput::createTabletId(libinput_tablet_tool*, KWin::LibInput::Device*)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/libinput/connection.cpp:248:102: warning[-Wmaybe-uninitialized]: ‘toolType’ may be used uninitialized
# 248 | return {dev->sysName(), toolType, capabilities, serial, toolId, dev->groupUserData(), dev->name()};
# | ^
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/libinput/connection.cpp:202:38: note: ‘toolType’ was declared here
# 202 | InputRedirection::TabletToolType toolType;
# | ^~~~~~~~
# 246| capabilities << InputRedirection::Wheel;
# 247| }
# 248|-> return {dev->sysName(), toolType, capabilities, serial, toolId, dev->groupUserData(), dev->name()};
# 249| }
# 250|
Error: COMPILER_WARNING (CWE-909): [#def22]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::capabilities’
# 32| .name = QStringLiteral("Virtual-%1").arg(identifier),
# 33| .internal = internal,
# 34|-> });
# 35| }
# 36|
Error: COMPILER_WARNING (CWE-909): [#def23]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::edid’
# 32| .name = QStringLiteral("Virtual-%1").arg(identifier),
# 33| .internal = internal,
# 34|-> });
# 35| }
# 36|
Error: COMPILER_WARNING (CWE-909): [#def24]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::eisaId’
# 32| .name = QStringLiteral("Virtual-%1").arg(identifier),
# 33| .internal = internal,
# 34|-> });
# 35| }
# 36|
Error: COMPILER_WARNING (CWE-909): [#def25]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp: scope_hint: In constructor ‘KWin::VirtualOutput::VirtualOutput(KWin::VirtualBackend*, bool)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::manufacturer’
# 34 | });
# | ^
# 32| .name = QStringLiteral("Virtual-%1").arg(identifier),
# 33| .internal = internal,
# 34|-> });
# 35| }
# 36|
Error: COMPILER_WARNING (CWE-909): [#def26]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxAverageBrightness’
# 32| .name = QStringLiteral("Virtual-%1").arg(identifier),
# 33| .internal = internal,
# 34|-> });
# 35| }
# 36|
Error: COMPILER_WARNING (CWE-909): [#def27]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxPeakBrightness’
# 32| .name = QStringLiteral("Virtual-%1").arg(identifier),
# 33| .internal = internal,
# 34|-> });
# 35| }
# 36|
Error: COMPILER_WARNING (CWE-909): [#def28]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::model’
# 32| .name = QStringLiteral("Virtual-%1").arg(identifier),
# 33| .internal = internal,
# 34|-> });
# 35| }
# 36|
Error: COMPILER_WARNING (CWE-909): [#def29]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::mstPath’
# 32| .name = QStringLiteral("Virtual-%1").arg(identifier),
# 33| .internal = internal,
# 34|-> });
# 35| }
# 36|
Error: COMPILER_WARNING (CWE-909): [#def30]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::physicalSize’
# 32| .name = QStringLiteral("Virtual-%1").arg(identifier),
# 33| .internal = internal,
# 34|-> });
# 35| }
# 36|
Error: COMPILER_WARNING (CWE-909): [#def31]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:34:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::serialNumber’
# 32| .name = QStringLiteral("Virtual-%1").arg(identifier),
# 33| .internal = internal,
# 34|-> });
# 35| }
# 36|
Error: COMPILER_WARNING (CWE-909): [#def32]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp: scope_hint: In member function ‘void KWin::VirtualOutput::init(const QPoint&, const QSize&, qreal)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:66:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::desiredModeSize’
# 66 | });
# | ^
# 64| .modes = {mode},
# 65| .currentMode = mode,
# 66|-> });
# 67| }
# 68|
Error: COMPILER_WARNING (CWE-909): [#def33]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:66:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::iccProfilePath’
# 64| .modes = {mode},
# 65| .currentMode = mode,
# 66|-> });
# 67| }
# 68|
Error: COMPILER_WARNING (CWE-909): [#def34]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:66:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::iccProfile’
# 64| .modes = {mode},
# 65| .currentMode = mode,
# 66|-> });
# 67| }
# 68|
Error: COMPILER_WARNING (CWE-909): [#def35]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:66:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::maxAverageBrightnessOverride’
# 64| .modes = {mode},
# 65| .currentMode = mode,
# 66|-> });
# 67| }
# 68|
Error: COMPILER_WARNING (CWE-909): [#def36]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:66:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::maxPeakBrightnessOverride’
# 64| .modes = {mode},
# 65| .currentMode = mode,
# 66|-> });
# 67| }
# 68|
Error: COMPILER_WARNING (CWE-909): [#def37]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/virtual/virtual_output.cpp:66:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::minBrightnessOverride’
# 64| .modes = {mode},
# 65| .currentMode = mode,
# 66|-> });
# 67| }
# 68|
Error: COMPILER_WARNING (CWE-252): [#def38]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_display.cpp: scope_hint: In member function ‘void KWin::Wayland::WaylandEventThread::stop()’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_display.cpp:96:18: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
# 96 | write(m_quitPipe[1], "\0", 1);
# | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
# 94| {
# 95| if (m_quitPipe[1] != -1) {
# 96|-> write(m_quitPipe[1], "\0", 1);
# 97| }
# 98|
Error: CLANG_WARNING: [#def39]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_egl_backend.cpp:274:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by field '_M_head_impl'
# 272| };
# 273| return true;
# 274|-> }
# 275|
# 276| bool WaylandEglBackend::initializeEgl()
Error: COMPILER_WARNING (CWE-909): [#def40]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_output.cpp:113:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::edid’
# 111| .model = name,
# 112| .capabilities = Capability::Dpms,
# 113|-> });
# 114|
# 115| m_turnOffTimer.setSingleShot(true);
Error: COMPILER_WARNING (CWE-909): [#def41]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_output.cpp:113:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::eisaId’
# 111| .model = name,
# 112| .capabilities = Capability::Dpms,
# 113|-> });
# 114|
# 115| m_turnOffTimer.setSingleShot(true);
Error: COMPILER_WARNING (CWE-909): [#def42]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_output.cpp: scope_hint: In constructor ‘KWin::Wayland::WaylandOutput::WaylandOutput(const QString&, KWin::Wayland::WaylandBackend*)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_output.cpp:113:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::manufacturer’
# 113 | });
# | ^
# 111| .model = name,
# 112| .capabilities = Capability::Dpms,
# 113|-> });
# 114|
# 115| m_turnOffTimer.setSingleShot(true);
Error: COMPILER_WARNING (CWE-909): [#def43]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_output.cpp:113:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxAverageBrightness’
# 111| .model = name,
# 112| .capabilities = Capability::Dpms,
# 113|-> });
# 114|
# 115| m_turnOffTimer.setSingleShot(true);
Error: COMPILER_WARNING (CWE-909): [#def44]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_output.cpp:113:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxPeakBrightness’
# 111| .model = name,
# 112| .capabilities = Capability::Dpms,
# 113|-> });
# 114|
# 115| m_turnOffTimer.setSingleShot(true);
Error: COMPILER_WARNING (CWE-909): [#def45]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_output.cpp:113:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::mstPath’
# 111| .model = name,
# 112| .capabilities = Capability::Dpms,
# 113|-> });
# 114|
# 115| m_turnOffTimer.setSingleShot(true);
Error: COMPILER_WARNING (CWE-909): [#def46]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_output.cpp:113:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::physicalSize’
# 111| .model = name,
# 112| .capabilities = Capability::Dpms,
# 113|-> });
# 114|
# 115| m_turnOffTimer.setSingleShot(true);
Error: COMPILER_WARNING (CWE-909): [#def47]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_output.cpp:113:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::serialNumber’
# 111| .model = name,
# 112| .capabilities = Capability::Dpms,
# 113|-> });
# 114|
# 115| m_turnOffTimer.setSingleShot(true);
Error: CLANG_WARNING: [#def48]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/wayland/wayland_qpainter_backend.cpp:174:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by field '_M_head_impl'
# 172| .cursorLayer = std::make_unique<WaylandQPainterCursorLayer>(static_cast<WaylandOutput *>(waylandOutput), this),
# 173| };
# 174|-> }
# 175|
# 176| GraphicsBufferAllocator *WaylandQPainterBackend::graphicsBufferAllocator() const
Error: COMPILER_WARNING (CWE-909): [#def49]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp:369:44: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::capabilities’
# 367| }
# 368|
# 369|-> X11Output::Information information{
# 370| .name = outputInfo.name(),
# 371| .physicalSize = physicalSize,
Error: COMPILER_WARNING (CWE-909): [#def50]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp:369:44: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::edid’
# 367| }
# 368|
# 369|-> X11Output::Information information{
# 370| .name = outputInfo.name(),
# 371| .physicalSize = physicalSize,
Error: COMPILER_WARNING (CWE-909): [#def51]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp:369:44: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::eisaId’
# 367| }
# 368|
# 369|-> X11Output::Information information{
# 370| .name = outputInfo.name(),
# 371| .physicalSize = physicalSize,
Error: COMPILER_WARNING (CWE-909): [#def52]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp:369:44: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::manufacturer’
# 369 | X11Output::Information information{
# | ^~~~~~~~~~~
# 367| }
# 368|
# 369|-> X11Output::Information information{
# 370| .name = outputInfo.name(),
# 371| .physicalSize = physicalSize,
Error: COMPILER_WARNING (CWE-909): [#def53]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp:369:44: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxAverageBrightness’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp: scope_hint: In instantiation of ‘void KWin::X11StandaloneBackend::doUpdateOutputs() [with T = KWin::Xcb::RandR::CurrentResources]’
#/builddir/build/BUILD/kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp:284:50: required from here
# 284 | doUpdateOutputs<Xcb::RandR::CurrentResources>();
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
# 367| }
# 368|
# 369|-> X11Output::Information information{
# 370| .name = outputInfo.name(),
# 371| .physicalSize = physicalSize,
Error: COMPILER_WARNING (CWE-909): [#def54]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp:369:44: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxPeakBrightness’
# 367| }
# 368|
# 369|-> X11Output::Information information{
# 370| .name = outputInfo.name(),
# 371| .physicalSize = physicalSize,
Error: COMPILER_WARNING (CWE-909): [#def55]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp:369:44: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::model’
# 367| }
# 368|
# 369|-> X11Output::Information information{
# 370| .name = outputInfo.name(),
# 371| .physicalSize = physicalSize,
Error: COMPILER_WARNING (CWE-909): [#def56]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp:369:44: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::mstPath’
# 367| }
# 368|
# 369|-> X11Output::Information information{
# 370| .name = outputInfo.name(),
# 371| .physicalSize = physicalSize,
Error: COMPILER_WARNING (CWE-909): [#def57]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_backend.cpp:369:44: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::serialNumber’
# 367| }
# 368|
# 369|-> X11Output::Information information{
# 370| .name = outputInfo.name(),
# 371| .physicalSize = physicalSize,
Error: COMPILER_WARNING (CWE-909): [#def58]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::accessXDetails’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def59]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::affectAccessX’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def60]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::affectBell’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def61]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::affectCompat’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def62]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp: scope_hint: In constructor ‘KWin::X11Keyboard::X11Keyboard()’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::affectCtrls’
# 86 | };
# | ^
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def63]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::affectExtDev’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def64]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::affectIndicatorMap’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def65]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::affectIndicatorState’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def66]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::affectMsgDetails’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def67]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::affectNames’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def68]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::bellDetails’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def69]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::compatDetails’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def70]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::ctrlDetails’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def71]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::extdevDetails’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def72]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::indicatorMapDetails’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def73]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::indicatorStateDetails’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def74]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::msgDetails’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def75]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_keyboard.cpp:86:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘xcb_xkb_select_events_details_t::namesDetails’
# 84| .affectState = requiredStateDetails,
# 85| .stateDetails = requiredStateDetails,
# 86|-> };
# 87|
# 88| xcb_void_cookie_t cookie =
Error: COMPILER_WARNING (CWE-909): [#def76]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:28:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::capabilities’
# 26| setInformation(Information{
# 27| .name = QStringLiteral("Placeholder-0"),
# 28|-> });
# 29|
# 30| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def77]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:28:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::edid’
# 26| setInformation(Information{
# 27| .name = QStringLiteral("Placeholder-0"),
# 28|-> });
# 29|
# 30| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def78]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:28:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::eisaId’
# 26| setInformation(Information{
# 27| .name = QStringLiteral("Placeholder-0"),
# 28|-> });
# 29|
# 30| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def79]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp: scope_hint: In constructor ‘KWin::X11PlaceholderOutput::X11PlaceholderOutput(KWin::X11StandaloneBackend*, QObject*)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:28:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::manufacturer’
# 28 | });
# | ^
# 26| setInformation(Information{
# 27| .name = QStringLiteral("Placeholder-0"),
# 28|-> });
# 29|
# 30| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def80]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:28:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxAverageBrightness’
# 26| setInformation(Information{
# 27| .name = QStringLiteral("Placeholder-0"),
# 28|-> });
# 29|
# 30| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def81]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:28:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxPeakBrightness’
# 26| setInformation(Information{
# 27| .name = QStringLiteral("Placeholder-0"),
# 28|-> });
# 29|
# 30| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def82]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:28:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::model’
# 26| setInformation(Information{
# 27| .name = QStringLiteral("Placeholder-0"),
# 28|-> });
# 29|
# 30| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def83]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:28:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::mstPath’
# 26| setInformation(Information{
# 27| .name = QStringLiteral("Placeholder-0"),
# 28|-> });
# 29|
# 30| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def84]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:28:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::physicalSize’
# 26| setInformation(Information{
# 27| .name = QStringLiteral("Placeholder-0"),
# 28|-> });
# 29|
# 30| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def85]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:28:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::serialNumber’
# 26| setInformation(Information{
# 27| .name = QStringLiteral("Placeholder-0"),
# 28|-> });
# 29|
# 30| setState(State{
Error: COMPILER_WARNING (CWE-909): [#def86]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:33:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::desiredModeSize’
# 31| .modes = {mode},
# 32| .currentMode = mode,
# 33|-> });
# 34| }
# 35|
Error: COMPILER_WARNING (CWE-909): [#def87]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:33:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::iccProfilePath’
# 31| .modes = {mode},
# 32| .currentMode = mode,
# 33|-> });
# 34| }
# 35|
Error: COMPILER_WARNING (CWE-909): [#def88]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:33:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::iccProfile’
# 31| .modes = {mode},
# 32| .currentMode = mode,
# 33|-> });
# 34| }
# 35|
Error: COMPILER_WARNING (CWE-909): [#def89]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:33:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::maxAverageBrightnessOverride’
# 31| .modes = {mode},
# 32| .currentMode = mode,
# 33|-> });
# 34| }
# 35|
Error: COMPILER_WARNING (CWE-909): [#def90]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:33:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::maxPeakBrightnessOverride’
# 31| .modes = {mode},
# 32| .currentMode = mode,
# 33|-> });
# 34| }
# 35|
Error: COMPILER_WARNING (CWE-909): [#def91]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:33:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::minBrightnessOverride’
# 31| .modes = {mode},
# 32| .currentMode = mode,
# 33|-> });
# 34| }
# 35|
Error: COMPILER_WARNING (CWE-909): [#def92]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp:33:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::position’
# 33 | });
# | ^
# 31| .modes = {mode},
# 32| .currentMode = mode,
# 33|-> });
# 34| }
# 35|
Error: CLANG_WARNING: [#def93]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_backend.cpp:584:9: warning[deadcode.DeadStores]: Value stored to 'button' is never read
# 582| break;
# 583| default:
# 584|-> button = event->detail + BTN_LEFT - 1;
# 585| return;
# 586| }
Error: CLANG_WARNING: [#def94]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_egl_backend.cpp:266:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by field '_M_head_impl'
# 264| };
# 265| }
# 266|-> }
# 267|
# 268| void X11WindowedEglBackend::present(Output *output, const std::shared_ptr<OutputFrame> &frame)
Error: COMPILER_WARNING (CWE-909): [#def95]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp:147:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::capabilities’
# 145| setInformation(Information{
# 146| .name = QStringLiteral("X11-%1").arg(identifier),
# 147|-> });
# 148| }
# 149|
Error: COMPILER_WARNING (CWE-909): [#def96]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp:147:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::edid’
# 145| setInformation(Information{
# 146| .name = QStringLiteral("X11-%1").arg(identifier),
# 147|-> });
# 148| }
# 149|
Error: COMPILER_WARNING (CWE-909): [#def97]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp:147:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::eisaId’
# 145| setInformation(Information{
# 146| .name = QStringLiteral("X11-%1").arg(identifier),
# 147|-> });
# 148| }
# 149|
Error: COMPILER_WARNING (CWE-909): [#def98]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp: scope_hint: In constructor ‘KWin::X11WindowedOutput::X11WindowedOutput(KWin::X11WindowedBackend*)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp:147:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::manufacturer’
# 147 | });
# | ^
# 145| setInformation(Information{
# 146| .name = QStringLiteral("X11-%1").arg(identifier),
# 147|-> });
# 148| }
# 149|
Error: COMPILER_WARNING (CWE-909): [#def99]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp:147:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxAverageBrightness’
# 145| setInformation(Information{
# 146| .name = QStringLiteral("X11-%1").arg(identifier),
# 147|-> });
# 148| }
# 149|
Error: COMPILER_WARNING (CWE-909): [#def100]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp:147:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxPeakBrightness’
# 145| setInformation(Information{
# 146| .name = QStringLiteral("X11-%1").arg(identifier),
# 147|-> });
# 148| }
# 149|
Error: COMPILER_WARNING (CWE-909): [#def101]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp:147:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::model’
# 145| setInformation(Information{
# 146| .name = QStringLiteral("X11-%1").arg(identifier),
# 147|-> });
# 148| }
# 149|
Error: COMPILER_WARNING (CWE-909): [#def102]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp:147:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::mstPath’
# 145| setInformation(Information{
# 146| .name = QStringLiteral("X11-%1").arg(identifier),
# 147|-> });
# 148| }
# 149|
Error: COMPILER_WARNING (CWE-909): [#def103]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp:147:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::physicalSize’
# 145| setInformation(Information{
# 146| .name = QStringLiteral("X11-%1").arg(identifier),
# 147|-> });
# 148| }
# 149|
Error: COMPILER_WARNING (CWE-909): [#def104]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_output.cpp:147:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::serialNumber’
# 145| setInformation(Information{
# 146| .name = QStringLiteral("X11-%1").arg(identifier),
# 147|-> });
# 148| }
# 149|
Error: CLANG_WARNING: [#def105]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/backends/x11/windowed/x11_windowed_qpainter_backend.cpp:172:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by field '_M_head_impl'
# 170| .cursorLayer = std::make_unique<X11WindowedQPainterCursorLayer>(x11Output),
# 171| };
# 172|-> }
# 173|
# 174| void X11WindowedQPainterBackend::removeOutput(Output *output)
Error: COMPILER_WARNING (CWE-909): [#def106]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/gbmgraphicsbufferallocator.cpp: scope_hint: In function ‘KWin::GraphicsBuffer* KWin::allocateDumb(gbm_device*, const GraphicsBufferOptions&)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/gbmgraphicsbufferallocator.cpp:128:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘drm_mode_create_dumb::flags’
# 128 | };
# | ^
# 126| .width = uint32_t(options.size.width()),
# 127| .bpp = 32,
# 128|-> };
# 129| if (drmIoctl(gbm_device_get_fd(device), DRM_IOCTL_MODE_CREATE_DUMB, &createArgs) != 0) {
# 130| qCWarning(KWIN_CORE) << "DRM_IOCTL_MODE_CREATE_DUMB failed:" << strerror(errno);
Error: COMPILER_WARNING (CWE-909): [#def107]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/gbmgraphicsbufferallocator.cpp:128:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘drm_mode_create_dumb::handle’
# 126| .width = uint32_t(options.size.width()),
# 127| .bpp = 32,
# 128|-> };
# 129| if (drmIoctl(gbm_device_get_fd(device), DRM_IOCTL_MODE_CREATE_DUMB, &createArgs) != 0) {
# 130| qCWarning(KWIN_CORE) << "DRM_IOCTL_MODE_CREATE_DUMB failed:" << strerror(errno);
Error: COMPILER_WARNING (CWE-909): [#def108]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/gbmgraphicsbufferallocator.cpp:128:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘drm_mode_create_dumb::pitch’
# 126| .width = uint32_t(options.size.width()),
# 127| .bpp = 32,
# 128|-> };
# 129| if (drmIoctl(gbm_device_get_fd(device), DRM_IOCTL_MODE_CREATE_DUMB, &createArgs) != 0) {
# 130| qCWarning(KWIN_CORE) << "DRM_IOCTL_MODE_CREATE_DUMB failed:" << strerror(errno);
Error: COMPILER_WARNING (CWE-909): [#def109]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/gbmgraphicsbufferallocator.cpp:128:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘drm_mode_create_dumb::size’
# 126| .width = uint32_t(options.size.width()),
# 127| .bpp = 32,
# 128|-> };
# 129| if (drmIoctl(gbm_device_get_fd(device), DRM_IOCTL_MODE_CREATE_DUMB, &createArgs) != 0) {
# 130| qCWarning(KWIN_CORE) << "DRM_IOCTL_MODE_CREATE_DUMB failed:" << strerror(errno);
Error: COMPILER_WARNING (CWE-909): [#def110]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/gbmgraphicsbufferallocator.cpp:308:9: warning[-Wmissing-field-initializers]: missing initializer for member ‘drm_mode_map_dumb::offset’
# 306| drm_mode_map_dumb mapArgs{
# 307| .handle = m_handle,
# 308|-> };
# 309| if (drmIoctl(m_drmFd, DRM_IOCTL_MODE_MAP_DUMB, &mapArgs) != 0) {
# 310| qCWarning(KWIN_CORE) << "DRM_IOCTL_MODE_MAP_DUMB failed:" << strerror(errno);
Error: COMPILER_WARNING (CWE-909): [#def111]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/gbmgraphicsbufferallocator.cpp: scope_hint: In member function ‘virtual KWin::GraphicsBuffer::Map KWin::DumbGraphicsBuffer::map(KWin::GraphicsBuffer::MapFlags)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/gbmgraphicsbufferallocator.cpp:308:9: warning[-Wmissing-field-initializers]: missing initializer for member ‘drm_mode_map_dumb::pad’
# 308 | };
# | ^
# 306| drm_mode_map_dumb mapArgs{
# 307| .handle = m_handle,
# 308|-> };
# 309| if (drmIoctl(m_drmFd, DRM_IOCTL_MODE_MAP_DUMB, &mapArgs) != 0) {
# 310| qCWarning(KWIN_CORE) << "DRM_IOCTL_MODE_MAP_DUMB failed:" << strerror(errno);
Error: COMPILER_WARNING (CWE-909): [#def112]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/syncobjtimeline.cpp: scope_hint: In function ‘KWin::FileDescriptor KWin::mergeSyncFds(const FileDescriptor&, const FileDescriptor&)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/syncobjtimeline.cpp:52:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘sync_merge_data::flags’
# 52 | };
# | ^
# 50| .fd2 = fd2.get(),
# 51| .fence = -1,
# 52|-> };
# 53| int err = -1;
# 54| do {
Error: COMPILER_WARNING (CWE-909): [#def113]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/core/syncobjtimeline.cpp:52:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘sync_merge_data::pad’
# 50| .fd2 = fd2.get(),
# 51| .fence = -1,
# 52|-> };
# 53| int err = -1;
# 54| do {
Error: CLANG_WARNING: [#def114]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/events.cpp:1123:5: warning[deadcode.DeadStores]: Value stored to 'x' is never read
# 1121| workspace()->userActionsMenu()->grabInput();
# 1122| }
# 1123|-> x = this->x(); // translate from grab window to local coords
# 1124| y = this->y();
# 1125|
Error: CLANG_WARNING: [#def115]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/events.cpp:1124:5: warning[deadcode.DeadStores]: Value stored to 'y' is never read
# 1122| }
# 1123| x = this->x(); // translate from grab window to local coords
# 1124|-> y = this->y();
# 1125|
# 1126| // Check whether other buttons are still left pressed
Error: CLANG_WARNING: [#def116]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/gestures.cpp:210:13: warning[deadcode.DeadStores]: Value stored to 'direction' is never read
# 208| if (std::abs(m_currentDelta.x()) >= std::abs(m_currentDelta.y())) {
# 209| swipeAxis = Axis::Horizontal;
# 210|-> direction = m_currentDelta.x() < 0 ? SwipeDirection::Left : SwipeDirection::Right;
# 211| } else {
# 212| swipeAxis = Axis::Vertical;
Error: CLANG_WARNING: [#def117]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/gestures.cpp:213:13: warning[deadcode.DeadStores]: Value stored to 'direction' is never read
# 211| } else {
# 212| swipeAxis = Axis::Vertical;
# 213|-> direction = m_currentDelta.y() < 0 ? SwipeDirection::Up : SwipeDirection::Down;
# 214| }
# 215| if (std::abs(m_currentDelta.x()) >= 5 || std::abs(m_currentDelta.y()) >= 5) {
Error: COMPILER_WARNING (CWE-457): [#def118]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/input_event.cpp:74:20: warning[-Wmaybe-uninitialized]: ‘t’ may be used uninitialized
# 74 | , m_id(tabletId)
# | ^
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/tablet_input.cpp: scope_hint: In member function ‘tabletToolEvent’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/tablet_input.cpp:59:18: note: ‘t’ was declared here
# 59 | QEvent::Type t;
# | ^
# 72| Qt::KeyboardModifiers keyState, Qt::MouseButton button, Qt::MouseButtons buttons, const TabletToolId &tabletId)
# 73| : QTabletEvent(t, dev, pos, globalPos, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, button, buttons)
# 74|-> , m_id(tabletId)
# 75| {
# 76| }
Error: CLANG_WARNING: [#def119]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/main.cpp:263:12: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
# 261| // create workspace.
# 262| (void)new Workspace();
# 263|-> Q_EMIT workspaceCreated();
# 264| }
# 265|
Error: COMPILER_WARNING (CWE-252): [#def120]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/main_x11.cpp: scope_hint: In member function ‘void KWin::ApplicationX11::crashChecking()’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/main_x11.cpp:349:15: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’
# 349 | system(buf);
# | ~~~~~~^~~~~
# 347| char buf[1024];
# 348| sprintf(buf, "%s &", cmd.toLatin1().data());
# 349|-> system(buf);
# 350| ::exit(1);
# 351| }
Error: COMPILER_WARNING (CWE-252): [#def121]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/main_x11.cpp: scope_hint: In static member function ‘static void KWin::ApplicationX11::crashHandler(int)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/main_x11.cpp:377:11: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’
# 377 | system(cmd);
# | ~~~~~~^~~~~
# 375|
# 376| sleep(1);
# 377|-> system(cmd);
# 378| }
# 379|
Error: COMPILER_WARNING (CWE-909): [#def122]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/outputconfigurationstore.cpp: scope_hint: In member function ‘std::pair<KWin::OutputConfiguration, QList<KWin::Output*> > KWin::OutputConfigurationStore::generateConfig(const QList<KWin::Output*>&, bool)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/outputconfigurationstore.cpp:458:9: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::OutputChangeSet::iccProfilePath’
# 458 | };
# | ^
# 456| .colorProfileSource = existingData.colorProfileSource.value_or(Output::ColorProfileSource::sRGB),
# 457| .brightness = existingData.brightness.value_or(1.0),
# 458|-> };
# 459| if (enable) {
# 460| const auto modeSize = changeset->transform->map(mode->size());
Error: COMPILER_WARNING (CWE-909): [#def123]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/outputconfigurationstore.cpp:458:9: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::OutputChangeSet::iccProfile’
# 456| .colorProfileSource = existingData.colorProfileSource.value_or(Output::ColorProfileSource::sRGB),
# 457| .brightness = existingData.brightness.value_or(1.0),
# 458|-> };
# 459| if (enable) {
# 460| const auto modeSize = changeset->transform->map(mode->size());
Error: COMPILER_WARNING (CWE-909): [#def124]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/outputconfigurationstore.cpp:458:9: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::OutputChangeSet::maxAverageBrightnessOverride’
# 456| .colorProfileSource = existingData.colorProfileSource.value_or(Output::ColorProfileSource::sRGB),
# 457| .brightness = existingData.brightness.value_or(1.0),
# 458|-> };
# 459| if (enable) {
# 460| const auto modeSize = changeset->transform->map(mode->size());
Error: COMPILER_WARNING (CWE-909): [#def125]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/outputconfigurationstore.cpp:458:9: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::OutputChangeSet::maxPeakBrightnessOverride’
# 456| .colorProfileSource = existingData.colorProfileSource.value_or(Output::ColorProfileSource::sRGB),
# 457| .brightness = existingData.brightness.value_or(1.0),
# 458|-> };
# 459| if (enable) {
# 460| const auto modeSize = changeset->transform->map(mode->size());
Error: COMPILER_WARNING (CWE-909): [#def126]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/outputconfigurationstore.cpp:458:9: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::OutputChangeSet::minBrightnessOverride’
# 456| .colorProfileSource = existingData.colorProfileSource.value_or(Output::ColorProfileSource::sRGB),
# 457| .brightness = existingData.brightness.value_or(1.0),
# 458|-> };
# 459| if (enable) {
# 460| const auto modeSize = changeset->transform->map(mode->size());
Error: COMPILER_WARNING (CWE-909): [#def127]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/outputconfigurationstore.cpp:458:9: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::OutputChangeSet::sdrGamutWideness’
# 456| .colorProfileSource = existingData.colorProfileSource.value_or(Output::ColorProfileSource::sRGB),
# 457| .brightness = existingData.brightness.value_or(1.0),
# 458|-> };
# 459| if (enable) {
# 460| const auto modeSize = changeset->transform->map(mode->size());
Error: COMPILER_WARNING (CWE-909): [#def128]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:25:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::desiredModeSize’
# 23| .currentMode = mode,
# 24| .enabled = true,
# 25|-> });
# 26|
# 27| setInformation(Information{
Error: COMPILER_WARNING (CWE-909): [#def129]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:25:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::iccProfilePath’
# 23| .currentMode = mode,
# 24| .enabled = true,
# 25|-> });
# 26|
# 27| setInformation(Information{
Error: COMPILER_WARNING (CWE-909): [#def130]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:25:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::iccProfile’
# 23| .currentMode = mode,
# 24| .enabled = true,
# 25|-> });
# 26|
# 27| setInformation(Information{
Error: COMPILER_WARNING (CWE-909): [#def131]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:25:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::maxAverageBrightnessOverride’
# 23| .currentMode = mode,
# 24| .enabled = true,
# 25|-> });
# 26|
# 27| setInformation(Information{
Error: COMPILER_WARNING (CWE-909): [#def132]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:25:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::maxPeakBrightnessOverride’
# 23| .currentMode = mode,
# 24| .enabled = true,
# 25|-> });
# 26|
# 27| setInformation(Information{
Error: COMPILER_WARNING (CWE-909): [#def133]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:25:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::minBrightnessOverride’
# 23| .currentMode = mode,
# 24| .enabled = true,
# 25|-> });
# 26|
# 27| setInformation(Information{
Error: COMPILER_WARNING (CWE-909): [#def134]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp: scope_hint: In constructor ‘KWin::PlaceholderOutput::PlaceholderOutput(const QSize&, qreal)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:25:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::State::position’
# 25 | });
# | ^
# 23| .currentMode = mode,
# 24| .enabled = true,
# 25|-> });
# 26|
# 27| setInformation(Information{
Error: COMPILER_WARNING (CWE-909): [#def135]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:30:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::capabilities’
# 28| .name = QStringLiteral("Placeholder-1"),
# 29| .placeholder = true,
# 30|-> });
# 31| }
# 32|
Error: COMPILER_WARNING (CWE-909): [#def136]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:30:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::edid’
# 28| .name = QStringLiteral("Placeholder-1"),
# 29| .placeholder = true,
# 30|-> });
# 31| }
# 32|
Error: COMPILER_WARNING (CWE-909): [#def137]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:30:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::eisaId’
# 28| .name = QStringLiteral("Placeholder-1"),
# 29| .placeholder = true,
# 30|-> });
# 31| }
# 32|
Error: COMPILER_WARNING (CWE-909): [#def138]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:30:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::manufacturer’
# 30 | });
# | ^
# 28| .name = QStringLiteral("Placeholder-1"),
# 29| .placeholder = true,
# 30|-> });
# 31| }
# 32|
Error: COMPILER_WARNING (CWE-909): [#def139]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:30:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxAverageBrightness’
# 28| .name = QStringLiteral("Placeholder-1"),
# 29| .placeholder = true,
# 30|-> });
# 31| }
# 32|
Error: COMPILER_WARNING (CWE-909): [#def140]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:30:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::maxPeakBrightness’
# 28| .name = QStringLiteral("Placeholder-1"),
# 29| .placeholder = true,
# 30|-> });
# 31| }
# 32|
Error: COMPILER_WARNING (CWE-909): [#def141]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:30:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::model’
# 28| .name = QStringLiteral("Placeholder-1"),
# 29| .placeholder = true,
# 30|-> });
# 31| }
# 32|
Error: COMPILER_WARNING (CWE-909): [#def142]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:30:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::mstPath’
# 28| .name = QStringLiteral("Placeholder-1"),
# 29| .placeholder = true,
# 30|-> });
# 31| }
# 32|
Error: COMPILER_WARNING (CWE-909): [#def143]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:30:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::physicalSize’
# 28| .name = QStringLiteral("Placeholder-1"),
# 29| .placeholder = true,
# 30|-> });
# 31| }
# 32|
Error: COMPILER_WARNING (CWE-909): [#def144]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placeholderoutput.cpp:30:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::Output::Information::serialNumber’
# 28| .name = QStringLiteral("Placeholder-1"),
# 29| .placeholder = true,
# 30|-> });
# 31| }
# 32|
Error: CLANG_WARNING: [#def145]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/placement.cpp:320:17: warning[deadcode.DeadStores]: Value stored to 'xr' is never read
# 318| xl = client->x();
# 319| yt = client->y();
# 320|-> xr = xl + client->width();
# 321| yb = yt + client->height();
# 322|
Error: COMPILER_WARNING (CWE-909): [#def146]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/platformsupport/scenes/qpainter/qpainterswapchain.cpp: scope_hint: In member function ‘std::shared_ptr<KWin::QPainterSwapchainSlot> KWin::QPainterSwapchain::acquire()’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/platformsupport/scenes/qpainter/qpainterswapchain.cpp:79:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::GraphicsBufferOptions::modifiers’
# 79 | });
# | ^
# 77| .format = m_format,
# 78| .software = true,
# 79|-> });
# 80| if (!buffer) {
# 81| qCWarning(KWIN_QPAINTER) << "Failed to allocate a qpainter swapchain graphics buffer";
Error: COMPILER_WARNING: [#def147]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/plugins/kscreen/kscreen.cpp: scope_hint: In constructor ‘KWin::KscreenEffect::KscreenEffect()’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/plugins/kscreen/kscreen.cpp:52:40: warning[-Wextra]: enumerated and non-enumerated type in conditional expression
# 52 | , m_atom(effects->waylandDisplay() ? XCB_ATOM_NONE : effects->announceSupportProperty("_KDE_KWIN_KSCREEN_SUPPORT", this))
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 50| : Effect()
# 51| #if KWIN_BUILD_X11
# 52|-> , m_atom(effects->waylandDisplay() ? XCB_ATOM_NONE : effects->announceSupportProperty("_KDE_KWIN_KSCREEN_SUPPORT", this))
# 53| #endif
# 54| {
Error: COMPILER_WARNING (CWE-909): [#def148]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/scene/itemrenderer_opengl.cpp:262:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::ItemRendererOpenGL::RenderContext::opacityStack’
# 260| .hardwareClipping = region != infiniteRegion() && ((mask & Scene::PAINT_WINDOW_TRANSFORMED) || (mask & Scene::PAINT_SCREEN_TRANSFORMED)),
# 261| .renderTargetScale = viewport.scale(),
# 262|-> };
# 263|
# 264| renderContext.transformStack.push(QMatrix4x4());
Error: COMPILER_WARNING (CWE-909): [#def149]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/scene/itemrenderer_opengl.cpp: scope_hint: In member function ‘virtual void KWin::ItemRendererOpenGL::renderItem(const KWin::RenderTarget&, const KWin::RenderViewport&, KWin::Item*, int, const QRegion&, const KWin::WindowPaintData&)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/scene/itemrenderer_opengl.cpp:262:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::ItemRendererOpenGL::RenderContext::renderNodes’
# 262 | };
# | ^
# 260| .hardwareClipping = region != infiniteRegion() && ((mask & Scene::PAINT_WINDOW_TRANSFORMED) || (mask & Scene::PAINT_SCREEN_TRANSFORMED)),
# 261| .renderTargetScale = viewport.scale(),
# 262|-> };
# 263|
# 264| renderContext.transformStack.push(QMatrix4x4());
Error: COMPILER_WARNING (CWE-909): [#def150]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/scene/itemrenderer_opengl.cpp:262:5: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::ItemRendererOpenGL::RenderContext::transformStack’
# 260| .hardwareClipping = region != infiniteRegion() && ((mask & Scene::PAINT_WINDOW_TRANSFORMED) || (mask & Scene::PAINT_SCREEN_TRANSFORMED)),
# 261| .renderTargetScale = viewport.scale(),
# 262|-> };
# 263|
# 264| renderContext.transformStack.push(QMatrix4x4());
Error: COMPILER_WARNING (CWE-457): [#def151]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/tablet_input.cpp: scope_hint: In member function ‘KWin::TabletInputRedirection::tabletToolEvent(KWin::InputRedirection::TabletEventType, QPointF const&, double, int, int, double, bool, bool, KWin::TabletToolId const&, std::chrono::duration<long, std::ratio<1l, 1000000l> >)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/tablet_input.cpp:84:64: warning[-Wmaybe-uninitialized]: ‘t’ may be used uninitialized
# 84 | Qt::NoModifier, button, button, tabletToolId);
# | ^
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/tablet_input.cpp:59:18: note: ‘t’ was declared here
# 59 | QEvent::Type t;
# | ^
# 82| rotation,
# 83| 0, // z
# 84|-> Qt::NoModifier, button, button, tabletToolId);
# 85|
# 86| ev.setTimestamp(std::chrono::duration_cast<std::chrono::milliseconds>(time).count());
Error: CLANG_WARNING: [#def152]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/utils/udev.cpp:202:10: warning[deadcode.DeadStores]: Value stored to 'current' during its initialization is never read
# 200| QMap<QByteArray, QByteArray> r;
# 201| auto it = udev_device_get_properties_list_entry(m_device);
# 202|-> auto current = it;
# 203| udev_list_entry_foreach(current, it)
# 204| {
Error: COMPILER_WARNING: [#def153]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/virtualdesktops.cpp: scope_hint: In member function ‘updateRootInfo’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/virtualdesktops.cpp:629:45: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 629 | NETPoint *viewports = new NETPoint[n];
# | ^
/usr/include/c++/14/new:133:26: note: in a call to allocation function ‘operator new []’ declared here
# 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
# | ^
# 627| const int n = count();
# 628| m_rootInfo->setNumberOfDesktops(n);
# 629|-> NETPoint *viewports = new NETPoint[n];
# 630| m_rootInfo->setDesktopViewport(n, *viewports);
# 631| delete[] viewports;
Error: CLANG_WARNING: [#def154]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/wayland/compositor.cpp:46:1: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
# 44| }
# 45| Q_EMIT q->surfaceCreated(new SurfaceInterface(q, surfaceResource));
# 46|-> }
# 47|
# 48| void CompositorInterfacePrivate::compositor_create_region(Resource *resource, uint32_t id)
Error: CLANG_WARNING: [#def155]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/wayland/datacontroldevicemanager_v1.cpp:46:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'dataSource'
# 44| DataControlSourceV1Interface *dataSource = new DataControlSourceV1Interface(q, data_source_resource);
# 45| Q_EMIT q->dataSourceCreated(dataSource);
# 46|-> }
# 47|
# 48| void DataControlDeviceManagerV1InterfacePrivate::zwlr_data_control_manager_v1_get_data_device(Resource *resource, uint32_t id, wl_resource *seat)
Error: CLANG_WARNING: [#def156]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/wayland/datacontroldevicemanager_v1.cpp:63:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'dataDevice'
# 61| DataControlDeviceV1Interface *dataDevice = new DataControlDeviceV1Interface(s, data_device_resource);
# 62| Q_EMIT q->dataDeviceCreated(dataDevice);
# 63|-> }
# 64|
# 65| void DataControlDeviceManagerV1InterfacePrivate::zwlr_data_control_manager_v1_destroy(QtWaylandServer::zwlr_data_control_manager_v1::Resource *resource)
Error: CLANG_WARNING: [#def157]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/wayland/datadevicemanager.cpp:49:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'dataSource'
# 47| DataSourceInterface *dataSource = new DataSourceInterface(data_source_resource);
# 48| Q_EMIT q->dataSourceCreated(dataSource);
# 49|-> }
# 50|
# 51| void DataDeviceManagerInterfacePrivate::data_device_manager_get_data_device(Resource *resource, uint32_t id, wl_resource *seat)
Error: CLANG_WARNING: [#def158]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/wayland/datadevicemanager.cpp:66:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'dataDevice'
# 64| DataDeviceInterface *dataDevice = new DataDeviceInterface(s, data_device_resource);
# 65| Q_EMIT q->dataDeviceCreated(dataDevice);
# 66|-> }
# 67|
# 68| DataDeviceManagerInterface::DataDeviceManagerInterface(Display *display, QObject *parent)
Error: CLANG_WARNING: [#def159]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/wayland/idle.cpp:25:20: warning[deadcode.DeadStores]: Value stored to 's' during its initialization is never read
# 23| void IdleInterfacePrivate::org_kde_kwin_idle_get_idle_timeout(Resource *resource, uint32_t id, wl_resource *seat, uint32_t timeout)
# 24| {
# 25|-> SeatInterface *s = SeatInterface::get(seat);
# 26| Q_ASSERT(s);
# 27|
Error: CLANG_WARNING: [#def160]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/wayland/primaryselectiondevicemanager_v1.cpp:46:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'dataSource'
# 44| PrimarySelectionSourceV1Interface *dataSource = new PrimarySelectionSourceV1Interface(data_source_resource);
# 45| Q_EMIT q->dataSourceCreated(dataSource);
# 46|-> }
# 47|
# 48| void PrimarySelectionDeviceManagerV1InterfacePrivate::zwp_primary_selection_device_manager_v1_get_device(Resource *resource, uint32_t id, wl_resource *seat)
Error: CLANG_WARNING: [#def161]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/wayland/primaryselectiondevicemanager_v1.cpp:63:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'dataDevice'
# 61| PrimarySelectionDeviceV1Interface *dataDevice = new PrimarySelectionDeviceV1Interface(s, data_device_resource);
# 62| Q_EMIT q->dataDeviceCreated(dataDevice);
# 63|-> }
# 64|
# 65| void PrimarySelectionDeviceManagerV1InterfacePrivate::zwp_primary_selection_device_manager_v1_destroy(Resource *resource)
Error: COMPILER_WARNING (CWE-563): [#def162]
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/x11window.cpp: scope_hint: In member function ‘virtual void KWin::X11Window::maximize(KWin::MaximizeMode)’
kwin-x11-6.1.1.2-build/kwin-6.1.1.2/src/x11window.cpp:4488:16: warning[-Wunused-but-set-variable]: variable ‘currentQuickTileMode’ set but not used
# 4488 | const auto currentQuickTileMode = requestedQuickTileMode();
# | ^~~~~~~~~~~~~~~~~~~~
# 4486| }
# 4487|
# 4488|-> const auto currentQuickTileMode = requestedQuickTileMode();
# 4489|
# 4490| QRectF clientArea;
Scan Properties
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 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-106.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kwin-x11-6.1.1.2-1.fc41 |
store-results-to | /tmp/tmp9ahx9wzh/kwin-x11-6.1.1.2-1.fc41.tar.xz |
time-created | 2024-07-03 14:45:08 |
time-finished | 2024-07-03 15:04:57 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp9ahx9wzh/kwin-x11-6.1.1.2-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp9ahx9wzh/kwin-x11-6.1.1.2-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |