Commit ced2deb9 authored by Stefan Behnel's avatar Stefan Behnel

fix legitimate test for missing result temp name

parent fa33c684
...@@ -4759,7 +4759,7 @@ class SimpleCallNode(CallNode): ...@@ -4759,7 +4759,7 @@ class SimpleCallNode(CallNode):
exc_checks.append("PyErr_Occurred()") exc_checks.append("PyErr_Occurred()")
if self.is_temp or exc_checks: if self.is_temp or exc_checks:
rhs = self.c_call_code() rhs = self.c_call_code()
if self.result(): if self.temp_code:
lhs = "%s = " % self.result() lhs = "%s = " % self.result()
if self.is_temp and self.type.is_pyobject: if self.is_temp and self.type.is_pyobject:
#return_type = self.type # func_type.return_type #return_type = self.type # func_type.return_type
......
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