Task #1477 - kf6-kguiaddons-6.0.0-1.fc40/scan-results.err
back to task #1477download
Error: COMPILER_WARNING (CWE-252): kf6-kguiaddons-6.0.0-build/kguiaddons-6.0.0/src/systemclipboard/waylandclipboard.cpp: scope_hint: In member function ‘virtual void DataControlSource::zwlr_data_control_source_v1_send(const QString&, int32_t)’ kf6-kguiaddons-6.0.0-build/kguiaddons-6.0.0/src/systemclipboard/waylandclipboard.cpp:354:10: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ # 354 | write(fd, ba.constData(), ba.size()); # | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 352| action.sa_flags = 0; # 353| sigaction(SIGPIPE, &action, &oldAction); # 354|-> write(fd, ba.constData(), ba.size()); # 355| sigaction(SIGPIPE, &oldAction, nullptr); # 356| close(fd); Error: CLANG_WARNING: kf6-kguiaddons-6.0.0-build/kguiaddons-6.0.0/src/util/klocalimagecacheimpl.cpp:90:5: warning[cplusplus.NewDeleteLeaks]: Potential memory leak # 88| bool KLocalImageCacheImplementation::insertLocalPixmap(const QString &key, const QPixmap &pixmap) const # 89| { # 90|-> return d->insertPixmap(key, new QPixmap(pixmap)); # 91| } # 92|