remove unnecessary condition
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
6c6f10265d
commit
d73d0a327a
1 changed files with 1 additions and 2 deletions
|
@ -88,8 +88,7 @@ def preprocess_c_source_code(source, *classes):
|
||||||
if has_instance is False:
|
if has_instance is False:
|
||||||
has_instance = True
|
has_instance = True
|
||||||
yield pair_start, start_line
|
yield pair_start, start_line
|
||||||
if instance:
|
yield instance.span()[0], instance
|
||||||
yield instance.span()[0], instance
|
|
||||||
if has_instance:
|
if has_instance:
|
||||||
yield start, end_line
|
yield start, end_line
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue