From e29ead375f8c2e4197018d96b31620395bdc975a Mon Sep 17 00:00:00 2001 From: Nicolas Le Cam Date: Fri, 2 Jan 2009 00:13:24 +0000 Subject: [PATCH] Preprocessor: Get rid of an unused parameter --- cppcheck.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cppcheck.cpp b/cppcheck.cpp index ccddb972b..10c5a7b0d 100644 --- a/cppcheck.cpp +++ b/cppcheck.cpp @@ -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;