tiny cleanup
authorStefan Behnel <scoder@users.berlios.de>
Fri, 27 Nov 2009 11:21:16 +0000 (12:21 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 27 Nov 2009 11:21:16 +0000 (12:21 +0100)
Cython/Compiler/ExprNodes.py

index 1826506a0db10c5f3a2cf791daa0d0b7d2677c78..e4c9a4f331c100a65d6b4f263bf9d5a94ceb81ce 100644 (file)
@@ -2696,7 +2696,7 @@ class GeneralCallNode(CallNode):
         if not self.function.type.is_pyobject:
             if self.function.type.is_error:
                 self.type = error_type
-                return error_type
+                return
             if hasattr(self.function, 'entry') and not self.function.entry.as_variable:
                 error(self.pos, "Keyword and starred arguments not allowed in cdef functions.")
             else: