Error: COMPILER_WARNING (CWE-476): [#def1] kpipewire-6.0.3-build/kpipewire-6.0.3/src/pipewirerecord.cpp: scope_hint: In member function ‘PipeWireRecordProduce::cleanup()’ kpipewire-6.0.3-build/kpipewire-6.0.3/src/pipewirerecord.cpp:199:33: warning[-Wnonnull]: ‘this’ pointer is null # 199 | m_encoder->receivePacket(); # | ~~~~~~~~~~~~~~~~~~~~~~~~^~ cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics # 197| if (!m_encoder) { # 198| // Clear the queue of encoded packets. # 199|-> m_encoder->receivePacket(); # 200| } # 201| Error: COMPILER_WARNING (CWE-477): [#def2] kpipewire-6.0.3-build/kpipewire-6.0.3/src/pipewiresourceitem.cpp: scope_hint: In member function ‘virtual void PipeWireSourceItem::releaseResources()’ kpipewire-6.0.3-build/kpipewire-6.0.3/src/pipewiresourceitem.cpp:120:95: warning[-Wdeprecated-declarations]: ‘T* QScopedPointer<T, Cleanup>::take() [with T = QOpenGLTexture; Cleanup = QScopedPointerDeleter<QOpenGLTexture>]’ is deprecated: Use std::unique_ptr instead, and call release(). # 120 | window()->scheduleRenderJob(new DiscardEglPixmapRunnable(d->m_image, d->m_texture.take()), QQuickWindow::NoStage); # | ~~~~~~~~~~~~~~~~~^~ /usr/include/qt6/QtCore/qdatastream.h:7: included_from: Included from here. /usr/include/qt6/QtGui/qregion.h:14: included_from: Included from here. /usr/include/qt6/QtGui/qtransform.h:8: included_from: Included from here. /usr/include/qt6/QtGui/qimage.h:12: included_from: Included from here. /usr/include/qt6/QtGui/QImage:1: included_from: Included from here. kpipewire-6.0.3-build/kpipewire-6.0.3/src/pipewiresourceitem.h:10: included_from: Included from here. kpipewire-6.0.3-build/kpipewire-6.0.3/src/pipewiresourceitem.cpp:8: included_from: Included from here. /usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here # 130 | T *take() noexcept # | ^~~~ cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics # 118| { # 119| if (window() && (d->m_image || d->m_texture)) { # 120|-> window()->scheduleRenderJob(new DiscardEglPixmapRunnable(d->m_image, d->m_texture.take()), QQuickWindow::NoStage); # 121| d->m_image = EGL_NO_IMAGE_KHR; # 122| }
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-132.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | kpipewire-6.1.1-1.fc41 |
diffbase-store-results-to | /tmp/tmpu5iqhxln/kpipewire-6.1.1-1.fc41.tar.xz |
diffbase-time-created | 2024-07-03 14:25:30 |
diffbase-time-finished | 2024-07-03 14:27:47 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpu5iqhxln/kpipewire-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpu5iqhxln/kpipewire-6.1.1-1.fc41.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-132.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kpipewire-6.0.3-1.fc40 |
store-results-to | /tmp/tmptkud3c2e/kpipewire-6.0.3-1.fc40.tar.xz |
time-created | 2024-07-03 14:22:26 |
time-finished | 2024-07-03 14:25:09 |
title | Fixed defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmptkud3c2e/kpipewire-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmptkud3c2e/kpipewire-6.0.3-1.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |