Error: COMPILER_WARNING (CWE-909): [#def1] kwin-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): [#def2] kwin-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-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): [#def3] kwin-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): [#def4] kwin-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-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): [#def5] kwin-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: COMPILER_WARNING (CWE-909): [#def6] kwin-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: CLANG_WARNING: [#def7] kwin-6.1.1.2-build/kwin-6.1.1.2/src/plugins/private/expolayout.cpp:694:13: warning[deadcode.DeadStores]: Value stored to 'ratioHigh' is never read # 692| stripWidthMin = stripWidthMid; # 693| placementWidthMin = placementMid; # 694|-> ratioHigh = ratioMid; # 695| } else { # 696| // small optimization: use the actual strip width Error: CLANG_WARNING: [#def8] kwin-6.1.1.2-build/kwin-6.1.1.2/src/plugins/private/expolayout.cpp:699:13: warning[deadcode.DeadStores]: Value stored to 'ratioLow' is never read # 697| stripWidthMax = placementMid.width; # 698| placementWidthMax = placementMid; # 699|-> ratioLow = ratioMid; # 700| } # 701| } Error: COMPILER_WARNING (CWE-909): [#def9] kwin-6.1.1.2-build/kwin-6.1.1.2/src/plugins/screencast/screencaststream.cpp: scope_hint: In member function ‘void KWin::ScreenCastStream::onStreamAddBuffer(pw_buffer*)’ kwin-6.1.1.2-build/kwin-6.1.1.2/src/plugins/screencast/screencaststream.cpp:278:66: warning[-Wmissing-field-initializers]: missing initializer for member ‘KWin::GraphicsBufferOptions::modifiers’ # 278 | })) { # | ^ # 276| .format = spaVideoFormatToDrmFormat(m_videoFormat.format), # 277| .software = true, # 278|-> })) { # 279| pwBuffer->user_data = memfd; # 280| return; Error: COMPILER_WARNING (CWE-563): [#def10] kwin-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-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;
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-62.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | kwin-6.0.3.1-2.fc40 |
diffbase-store-results-to | /tmp/tmps08f8due/kwin-6.0.3.1-2.fc40.tar.xz |
diffbase-time-created | 2024-07-03 14:27:54 |
diffbase-time-finished | 2024-07-03 14:54:33 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmps08f8due/kwin-6.0.3.1-2.fc40.tar.xz' '--gcc-analyze' '/tmp/tmps08f8due/kwin-6.0.3.1-2.fc40.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-62.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kwin-6.1.1.2-1.fc41 |
store-results-to | /tmp/tmpfcms5r4l/kwin-6.1.1.2-1.fc41.tar.xz |
time-created | 2024-07-03 14:55:02 |
time-finished | 2024-07-03 15:21:49 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpfcms5r4l/kwin-6.1.1.2-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpfcms5r4l/kwin-6.1.1.2-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |