astyle fix
This commit is contained in:
parent
35b6b2588e
commit
6362574c1a
|
@ -228,10 +228,10 @@ std::string CppCheck::parseFromArgs(int argc, const char* const argv[])
|
||||||
for (std::list<Check *>::iterator it = Check::instances().begin(); it != Check::instances().end(); ++it)
|
for (std::list<Check *>::iterator it = Check::instances().begin(); it != Check::instances().end(); ++it)
|
||||||
{
|
{
|
||||||
doc << "===" << (*it)->name() << "===\n"
|
doc << "===" << (*it)->name() << "===\n"
|
||||||
<< (*it)->classInfo() << "\n\n";
|
<< (*it)->classInfo() << "\n\n";
|
||||||
}
|
}
|
||||||
doc << "===" << "Unused functions" << "===\n"
|
doc << "===" << "Unused functions" << "===\n"
|
||||||
<< "Check for functions that are never called\n";
|
<< "Check for functions that are never called\n";
|
||||||
std::string doc2(doc.str());
|
std::string doc2(doc.str());
|
||||||
while (doc2.find("\n\n\n") != std::string::npos)
|
while (doc2.find("\n\n\n") != std::string::npos)
|
||||||
doc2.erase(doc2.find("\n\n\n"), 1);
|
doc2.erase(doc2.find("\n\n\n"), 1);
|
||||||
|
|
Loading…
Reference in New Issue