Preprocessor: Get rid of an unused parameter

This commit is contained in:
Nicolas Le Cam 2009-01-02 00:13:24 +00:00
parent 08cd1894ee
commit e29ead375f
1 changed files with 2 additions and 2 deletions

View File

@ -159,13 +159,13 @@ void CppCheck::check()
{
// File content was given as a string
std::istringstream iss( _fileContents[ _filenames[c] ] );
preprocessor.preprocess(iss, fname, filedata, configurations );
preprocessor.preprocess(iss, filedata, configurations );
}
else
{
// Only file name was given, read the content from file
std::ifstream fin( fname.c_str() );
preprocessor.preprocess(fin, fname, filedata, configurations );
preprocessor.preprocess(fin, filedata, configurations );
}
int checkCount = 0;