Error: COMPILER_WARNING (CWE-563): [#def1] plasma-discover-6.1.1-build/discover-6.1.1/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp: scope_hint: In member function ‘FlatpakRemote* FlatpakBackend::installSource(FlatpakResource*)’ plasma-discover-6.1.1-build/discover-6.1.1/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1975:14: warning[-Wunused-variable]: unused variable ‘remote’ # 1975 | if (auto remote = flatpak_installation_get_remote_by_name(preferredInstallation(), resource->flatpakName().toUtf8().constData(), cancellable, nullptr)) { # | ^~~~~~ # 1973| g_autoptr(GCancellable) cancellable = g_cancellable_new(); # 1974| # 1975|-> if (auto remote = flatpak_installation_get_remote_by_name(preferredInstallation(), resource->flatpakName().toUtf8().constData(), cancellable, nullptr)) { # 1976| qCWarning(LIBDISCOVER_BACKEND_FLATPAK_LOG) << "Source" << resource->flatpakName() << "already exists in" # 1977| << flatpak_installation_get_path(preferredInstallation()); Error: COMPILER_WARNING (CWE-563): [#def2] plasma-discover-6.1.1-build/discover-6.1.1/libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.cpp: scope_hint: In member function ‘bool FlatpakTransactionThread::end_of_lifed_with_rebase(const char*, const char*, const char*, const char*, const char**)’ plasma-discover-6.1.1-build/discover-6.1.1/libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.cpp:392:69: warning[-Wunused-parameter]: unused parameter ‘reason’ # 392 | const char *reason, # | ~~~~~~~~~~~~^~~~~~ # 390| bool FlatpakTransactionThread::end_of_lifed_with_rebase(const char *remote, # 391| const char *ref, # 392|-> const char *reason, # 393| const char *rebased_to_ref, # 394| const char **previous_ids)
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-188.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | plasma-discover-6.0.3-1.fc40 |
diffbase-store-results-to | /tmp/tmpttplwr0u/plasma-discover-6.0.3-1.fc40.tar.xz |
diffbase-time-created | 2024-07-03 16:59:31 |
diffbase-time-finished | 2024-07-03 17:04:32 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpttplwr0u/plasma-discover-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpttplwr0u/plasma-discover-6.0.3-1.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-188.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | plasma-discover-6.1.1-1.fc41 |
store-results-to | /tmp/tmp56xq_jux/plasma-discover-6.1.1-1.fc41.tar.xz |
time-created | 2024-07-03 17:05:00 |
time-finished | 2024-07-03 17:10:03 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp56xq_jux/plasma-discover-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp56xq_jux/plasma-discover-6.1.1-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |