Task #1501 - kmenuedit-6.0.3-1.fc40/scan-results.err
back to task #1501download
Error: CLANG_WARNING: kmenuedit-6.0.3-build/kmenuedit-6.0.3/klinespellchecking.cpp:22:19: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'ac' # 20| { # 21| KActionCollection *ac = new KActionCollection(this); # 22|-> m_spellAction = KStandardAction::spelling(this, SLOT(slotCheckSpelling()), ac); # 23| } # 24| Error: COMPILER_WARNING (CWE-477): kmenuedit-6.0.3-build/kmenuedit-6.0.3/menufile.cpp: scope_hint: In member function ‘bool MenuFile::load()’ kmenuedit-6.0.3-build/kmenuedit-6.0.3/menufile.cpp:67:26: warning[-Wdeprecated-declarations]: ‘bool QDomDocument::setContent(QIODevice*, QString*, int*, int*)’ is deprecated: Use the overload returning ParseResult instead. # 67 | if (!m_doc.setContent(&file, &errorMsg, &errorRow, &errorCol)) { # | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kmenuedit-6.0.3-build/kmenuedit-6.0.3/menufile.h:11: included_from: Included from here. kmenuedit-6.0.3-build/kmenuedit-6.0.3/menufile.cpp:8: included_from: Included from here. /usr/include/qt6/QtXml/qdom.h:331:10: note: declared here # 331 | bool setContent(QIODevice *dev, QString *errorMsg, int *errorLine = nullptr, int *errorColumn = nullptr); # | ^~~~~~~~~~ # 65| int errorRow; # 66| int errorCol; # 67|-> if (!m_doc.setContent(&file, &errorMsg, &errorRow, &errorCol)) { # 68| qCWarning(KMENUEDIT_LOG) << "Parse error in " << m_fileName << ", line " << errorRow << ", col " << errorCol << ": " << errorMsg; # 69| file.close();