From: Jürg Billeter Date: Thu, 14 Oct 2010 15:37:29 +0000 (+0200) Subject: codegen: Fix critical when using postconditions X-Git-Tag: 0.11.1~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c8b94a25744546d36284179e89d07eeff4f3d50;p=thirdparty%2Fvala.git codegen: Fix critical when using postconditions Fixes bug 631812. --- diff --git a/codegen/valaccodemethodmodule.vala b/codegen/valaccodemethodmodule.vala index 484e26785..106b0aaf2 100644 --- a/codegen/valaccodemethodmodule.vala +++ b/codegen/valaccodemethodmodule.vala @@ -296,10 +296,6 @@ public class Vala.CCodeMethodModule : CCodeStructModule { param.accept (this); } - if (m.result_var != null) { - m.result_var.accept (this); - } - // do not declare overriding methods and interface implementations if (m.is_abstract || m.is_virtual || (m.base_method == null && m.base_interface_method == null)) {