mirror of https://gitlab.com/ita1024/waf.git
cppcheck: check very ugly if code checking for configuration mode
This commit is contained in:
parent
c6ebd2547c
commit
655217384a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue