more java/c# cleanup
This commit is contained in:
parent
dbddbe75bf
commit
10c11ec9dd
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue