diff --git a/waflib/extras/cppcheck.py b/waflib/extras/cppcheck.py index adfc193e..77f65e5b 100644 --- a/waflib/extras/cppcheck.py +++ b/waflib/extras/cppcheck.py @@ -149,7 +149,7 @@ def configure(conf): @TaskGen.feature('c') @TaskGen.feature('cxx') def cppcheck_execute(self): - if hasattr(self.bld, 'conf') == True: + if hasattr(self.bld, 'conf'): return if len(self.env.CPPCHECK_SKIP) or Options.options.cppcheck_skip: return