Commit 580c2c71 authored by David Faure's avatar David Faure
Browse files

normalize: remove wrong assert.


Many C++ source files don't end with a '\n'

Change-Id: I785ee0ac0678f63ae41b2bcaddc77bc4c3e5c16e
Reviewed-by: default avatarKurt Pattyn <pattyn.kurt@gmail.com>
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
parent afd55c79
No related merge requests found
Showing with 0 additions and 1 deletion
...@@ -126,7 +126,6 @@ void check(const QString &fileName) ...@@ -126,7 +126,6 @@ void check(const QString &fileName)
if (bline.isEmpty()) if (bline.isEmpty())
break; break;
QString line = QString::fromLocal8Bit(bline); QString line = QString::fromLocal8Bit(bline);
Q_ASSERT_X(line.endsWith("\n"), "check()", fileName.toLocal8Bit().constData());
found |= checkSignature(fileName, line, "SLOT"); found |= checkSignature(fileName, line, "SLOT");
found |= checkSignature(fileName, line, "SIGNAL"); found |= checkSignature(fileName, line, "SIGNAL");
if (modify) if (modify)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment