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) {
|
void runSimplifiedChecks(const Tokenizer *tokenizr, const Settings *settings, ErrorLogger *errLog) {
|
||||||
// Don't use these check for Java and C# programs..
|
|
||||||
if (!tokenizr->isCPP())
|
if (!tokenizr->isCPP())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -133,8 +133,7 @@ unsigned int CppCheck::processFile(const std::string& filename)
|
|||||||
{
|
{
|
||||||
exitcode = 0;
|
exitcode = 0;
|
||||||
|
|
||||||
// only show debug warnings for C/C++ source files (don't fix
|
// only show debug warnings for accepted C/C++ source files
|
||||||
// debug warnings for java/c#/etc files)
|
|
||||||
if (!Path::acceptFile(filename))
|
if (!Path::acceptFile(filename))
|
||||||
_settings.debugwarnings = false;
|
_settings.debugwarnings = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user