Remove unused function.

I forgot to remove the function that was used in command line
parsing code.
This commit is contained in:
Kimmo Varis 2010-09-05 11:24:01 +03:00
parent 8fde754ad0
commit 120b6b9133
1 changed files with 0 additions and 26 deletions

View File

@ -75,32 +75,6 @@ const char * CppCheck::version()
return "1.44";
}
static void AddFilesToList(const std::string& FileList, std::vector<std::string>& PathNames)
{
// to keep things initially simple, if the file can't be opened, just be
// silent and move on
// ideas : we could also require this should be an xml file, with the filenames
// specified in an xml structure
// we could elaborate this then, to also include the I-paths, ...
// basically for everything that makes the command line very long
// xml is a bonus then, since we can easily extend it
// we need a good parser then -> suggestion : TinyXml
// drawback : creates a dependency
std::ifstream Files(FileList.c_str());
if (Files)
{
std::string FileName;
while (std::getline(Files, FileName)) // next line
{
if (!FileName.empty())
{
PathNames.push_back(FileName);
}
}
}
}
unsigned int CppCheck::check()
{
exitcode = 0;