more java/c# cleanup

This commit is contained in:
Daniel Marjamäki 2012-10-03 19:51:09 +02:00
parent dbddbe75bf
commit 10c11ec9dd
2 changed files with 1 additions and 3 deletions

View File

@ -357,7 +357,6 @@ public:
{ }
void runSimplifiedChecks(const Tokenizer *tokenizr, const Settings *settings, ErrorLogger *errLog) {
// Don't use these check for Java and C# programs..
if (!tokenizr->isCPP())
return;

View File

@ -133,8 +133,7 @@ unsigned int CppCheck::processFile(const std::string& filename)
{
exitcode = 0;
// only show debug warnings for C/C++ source files (don't fix
// debug warnings for java/c#/etc files)
// only show debug warnings for accepted C/C++ source files
if (!Path::acceptFile(filename))
_settings.debugwarnings = false;