astyle formatting

This commit is contained in:
Daniel Marjamäki 2009-03-06 18:13:41 +01:00
parent 113b3c1d21
commit cc8a6168e7
4 changed files with 9 additions and 9 deletions

View File

@ -196,11 +196,11 @@ std::string CppCheck::parseFromArgs(int argc, const char* const argv[])
}
// auto deallocated classes..
else if (strcmp(argv[i], "--auto-dealloc")==0)
else if (strcmp(argv[i], "--auto-dealloc") == 0)
{
++i;
if (i >= argc || !strstr(argv[i],".lst"))
if (i >= argc || !strstr(argv[i], ".lst"))
return "No .lst file specified for the --auto-dealloc option\n";
std::ifstream f(argv[i]);

View File

@ -45,7 +45,7 @@ Settings::~Settings()
void Settings::autoDealloc(std::istream &istr)
{
std::string line;
while (getline(istr,line))
while (getline(istr, line))
{
// Check if line has a valid classname..
if (line.empty())