diff --git a/tools/donate-cpu.py b/tools/donate-cpu.py index 1c0046fed..93d163186 100644 --- a/tools/donate-cpu.py +++ b/tools/donate-cpu.py @@ -218,7 +218,7 @@ def hasInclude(path, includes): return False -def scanPackage(workPath, cppcheck, jobs): +def scanPackage(workPath, cppcheckPath, jobs): print('Analyze..') os.chdir(workPath) libraries = ' --library=posix' @@ -234,12 +234,13 @@ def scanPackage(workPath, cppcheck, jobs): libraries += ' --library=wxwidgets' if hasInclude('temp', ['']): libraries += ' --library=zlib' -# if hasInclude('temp', ['