run astyle
This commit is contained in:
parent
8308fb72e3
commit
5cdd635701
|
@ -64,7 +64,7 @@ static const char * const call_func_white_list[] =
|
|||
, "perror", "popen" ,"posix_fadvise", "posix_fallocate", "pread"
|
||||
, "printf", "psignal", "putenv", "puts", "pwrite", "qsort", "read", "readahead", "readdir", "readdir_r"
|
||||
, "readlink", "readv"
|
||||
, "realloc", "regcomp", "remove", "rename", "return", "rewind", "rewinddir", "rindex"
|
||||
, "realloc", "regcomp", "remove", "rename", "return", "rewind", "rewinddir", "rindex"
|
||||
, "rmdir" ,"scandir", "scanf", "seekdir"
|
||||
, "setbuf", "setbuffer", "sethostname", "setlinebuf", "setlocale" ,"setvbuf", "snprintf", "sprintf", "sscanf"
|
||||
, "stat", "stpcpy", "strcasecmp", "strcat", "strchr", "strcmp", "strcoll"
|
||||
|
|
|
@ -122,7 +122,7 @@ unsigned int CppCheck::check()
|
|||
std::list<std::string> configurations;
|
||||
std::string filedata = "";
|
||||
|
||||
if ( (!_fileContents.empty()) && (_fileContents.find(_filenames[c]) != _fileContents.end()))
|
||||
if ((!_fileContents.empty()) && (_fileContents.find(_filenames[c]) != _fileContents.end()))
|
||||
{
|
||||
// File content was given as a string
|
||||
std::istringstream iss(_fileContents[ _filenames[c] ]);
|
||||
|
|
Loading…
Reference in New Issue