mirror of https://gitlab.com/ita1024/waf.git
Remove undeclared `ve` variable for performance improvement #1950
This commit is contained in:
parent
f2366e8c93
commit
6e5baffd47
|
@ -1037,8 +1037,6 @@ class c_parser(object):
|
|||
state[-1] = accepted
|
||||
elif token == 'include' or token == 'import':
|
||||
(kind, inc) = extract_include(line, self.defs)
|
||||
if ve:
|
||||
Logs.debug('preproc: include found %s (%s) ', inc, kind)
|
||||
if kind == '"' or not strict_quotes:
|
||||
self.current_file = self.tryfind(inc)
|
||||
if token == 'import':
|
||||
|
@ -1104,4 +1102,3 @@ def scan(task):
|
|||
tmp = c_parser(nodepaths)
|
||||
tmp.start(task.inputs[0], task.env)
|
||||
return (tmp.nodes, tmp.names)
|
||||
|
||||
|
|
Loading…
Reference in New Issue