[vala] codegen: Fix critical when using postconditions
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] codegen: Fix critical when using postconditions
- Date: Thu, 14 Oct 2010 15:38:03 +0000 (UTC)
commit 3c8b94a25744546d36284179e89d07eeff4f3d50
Author: Jürg Billeter <j bitron ch>
Date: Thu Oct 14 17:37:29 2010 +0200
codegen: Fix critical when using postconditions
Fixes bug 631812.
codegen/valaccodemethodmodule.vala | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/codegen/valaccodemethodmodule.vala b/codegen/valaccodemethodmodule.vala
index 484e267..106b0aa 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)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]