Commit 229279d6 authored by Stefan Behnel's avatar Stefan Behnel

fix C compiler warning about unused utility code

--HG--
extra : rebase_source : 2e86ee2423754e0cfa6e79b33b9570a25a019c01
parent 46d308e4
......@@ -6032,7 +6032,6 @@ class TryExceptStatNode(StatNode):
except_clause.analyse_declarations(env)
if self.else_clause:
self.else_clause.analyse_declarations(env)
env.use_utility_code(reset_exception_utility_code)
def analyse_expressions(self, env):
self.body = self.body.analyse_expressions(env)
......@@ -6082,6 +6081,7 @@ class TryExceptStatNode(StatNode):
if can_raise:
# inject code before the try block to save away the exception state
code.globalstate.use_utility_code(reset_exception_utility_code)
save_exc.putln("__Pyx_ExceptionSave(%s);" %
', '.join(['&%s' % var for var in exc_save_vars]))
for var in exc_save_vars:
......
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