Task #1999 - xdg-desktop-portal-kde-6.0.3-1.fc40/scan-results.err

back to task #1999
download
Error: COMPILER_WARNING (CWE-563):
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/globalshortcuts.cpp: scope_hint: In member function ‘uint GlobalShortcutsPortal::CreateSession(const QDBusObjectPath&, const QDBusObjectPath&, const QString&, const QVariantMap&, QVariantMap&)’
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/globalshortcuts.cpp:44:56: warning[-Wunused-parameter]: unused parameter ‘results’
#   44 |                                           QVariantMap &results)
#      |                                           ~~~~~~~~~~~~~^~~~~~~
#   42|                                             const QString &app_id,
#   43|                                             const QVariantMap &options,
#   44|->                                           QVariantMap &results)
#   45|   {
#   46|       qCDebug(XdgDesktopPortalKdeGlobalShortcuts) << "CreateSession called with parameters:";

Error: COMPILER_WARNING (CWE-563):
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/region-select/SelectionEditor.cpp: scope_hint: In member function ‘virtual bool SelectionEditor::eventFilter(QObject*, QEvent*)’
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/region-select/SelectionEditor.cpp:158:44: warning[-Wunused-parameter]: unused parameter ‘watched’
#  158 | bool SelectionEditor::eventFilter(QObject *watched, QEvent *event)
#      |                                   ~~~~~~~~~^~~~~~~
#  156|   }
#  157|   
#  158|-> bool SelectionEditor::eventFilter(QObject *watched, QEvent *event)
#  159|   {
#  160|       switch (event->type()) {

Error: COMPILER_WARNING (CWE-563):
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/session.cpp: scope_hint: In member function ‘void RemoteDesktopSession::setOptions(const QVariantMap&)’
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/session.cpp:226:58: warning[-Wunused-parameter]: unused parameter ‘options’
#  226 | void RemoteDesktopSession::setOptions(const QVariantMap &options)
#      |                                       ~~~~~~~~~~~~~~~~~~~^~~~~~~
#  224|   }
#  225|   
#  226|-> void RemoteDesktopSession::setOptions(const QVariantMap &options)
#  227|   {
#  228|   }

Error: CLANG_WARNING:
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/waylandintegration.cpp:273:27: warning[core.CallAndMessage]: Called C++ object pointer is null
#  271|   {
#  272|       auto uuid = win[KWayland::Client::PlasmaWindowModel::Uuid].toString();
#  273|->     return startStreaming(m_screencasting->createWindowStream(uuid, cursorMode), {{QLatin1String("source_type"), static_cast<uint>(ScreenCastPortal::Window)}});
#  274|   }
#  275|   

Error: CLANG_WARNING:
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/waylandintegration.cpp:278:19: warning[core.CallAndMessage]: Called C++ object pointer is null
#  276|   WaylandIntegration::Stream WaylandIntegration::WaylandIntegrationPrivate::startStreamingOutput(QScreen *screen, Screencasting::CursorMode mode)
#  277|   {
#  278|->     auto stream = m_screencasting->createOutputStream(screen, mode);
#  279|       if (!stream) {
#  280|           qCWarning(XdgDesktopPortalKdeWaylandIntegration) << "Cannot stream, output not found" << screen->name();

Error: CLANG_WARNING:
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/waylandintegration.cpp:302:27: warning[core.CallAndMessage]: Called C++ object pointer is null
#  300|           workspace |= screen->geometry();
#  301|       }
#  302|->     return startStreaming(m_screencasting->createRegionStream(workspace, 1, mode),
#  303|                             {
#  304|                                 {QLatin1String("size"), workspace.size()},

Error: CLANG_WARNING:
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/waylandintegration.cpp:311:27: warning[core.CallAndMessage]: Called C++ object pointer is null
#  309|   WaylandIntegration::Stream WaylandIntegration::WaylandIntegrationPrivate::startStreamingRegion(const QRect region, Screencasting::CursorMode mode)
#  310|   {
#  311|->     return startStreaming(m_screencasting->createRegionStream(region, 1, mode),
#  312|                             {
#  313|                                 {QLatin1String("size"), region.size()},

Error: CLANG_WARNING:
xdg-desktop-portal-kde-6.0.3-build/xdg-desktop-portal-kde-6.0.3/src/waylandintegration.cpp:321:27: warning[core.CallAndMessage]: Called C++ object pointer is null
#  319|   WaylandIntegration::WaylandIntegrationPrivate::startStreamingVirtualOutput(const QString &name, const QSize &size, Screencasting::CursorMode mode)
#  320|   {
#  321|->     return startStreaming(m_screencasting->createVirtualOutputStream(name, size, 1, mode),
#  322|                             {
#  323|                                 {QLatin1String("size"), size},