Commit 358f47d0 authored by Stefan Behnel's avatar Stefan Behnel

remove redundant code

parent f3b0b977
...@@ -2129,10 +2129,6 @@ class AlignFunctionDefinitions(CythonTransform): ...@@ -2129,10 +2129,6 @@ class AlignFunctionDefinitions(CythonTransform):
class RemoveUnreachableCode(CythonTransform): class RemoveUnreachableCode(CythonTransform):
def visit_Node(self, node):
self.visitchildren(node)
return node
def visit_StatListNode(self, node): def visit_StatListNode(self, node):
if not self.current_directives['remove_unreachable']: if not self.current_directives['remove_unreachable']:
return node return node
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment