astyle formatting
This commit is contained in:
parent
113b3c1d21
commit
cc8a6168e7
@ -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]);
|
||||
|
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user