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"
|
, "perror", "popen" ,"posix_fadvise", "posix_fallocate", "pread"
|
||||||
, "printf", "psignal", "putenv", "puts", "pwrite", "qsort", "read", "readahead", "readdir", "readdir_r"
|
, "printf", "psignal", "putenv", "puts", "pwrite", "qsort", "read", "readahead", "readdir", "readdir_r"
|
||||||
, "readlink", "readv"
|
, "readlink", "readv"
|
||||||
, "realloc", "regcomp", "remove", "rename", "return", "rewind", "rewinddir", "rindex"
|
, "realloc", "regcomp", "remove", "rename", "return", "rewind", "rewinddir", "rindex"
|
||||||
, "rmdir" ,"scandir", "scanf", "seekdir"
|
, "rmdir" ,"scandir", "scanf", "seekdir"
|
||||||
, "setbuf", "setbuffer", "sethostname", "setlinebuf", "setlocale" ,"setvbuf", "snprintf", "sprintf", "sscanf"
|
, "setbuf", "setbuffer", "sethostname", "setlinebuf", "setlocale" ,"setvbuf", "snprintf", "sprintf", "sscanf"
|
||||||
, "stat", "stpcpy", "strcasecmp", "strcat", "strchr", "strcmp", "strcoll"
|
, "stat", "stpcpy", "strcasecmp", "strcat", "strchr", "strcmp", "strcoll"
|
||||||
|
|
|
@ -122,7 +122,7 @@ unsigned int CppCheck::check()
|
||||||
std::list<std::string> configurations;
|
std::list<std::string> configurations;
|
||||||
std::string filedata = "";
|
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
|
// File content was given as a string
|
||||||
std::istringstream iss(_fileContents[ _filenames[c] ]);
|
std::istringstream iss(_fileContents[ _filenames[c] ]);
|
||||||
|
|
Loading…
Reference in New Issue