Library Editor: Don't write empty comments
This commit is contained in:
parent
fb0477affd
commit
aedba792b5
|
@ -271,6 +271,7 @@ static void writeFunction(QXmlStreamWriter &xmlWriter, const CppcheckLibraryData
|
|||
while (comments.endsWith("\n"))
|
||||
comments.chop(1);
|
||||
foreach(const QString &comment, comments.split('\n')) {
|
||||
if (comment.length() >= 1)
|
||||
xmlWriter.writeComment(comment);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue