[vala] GAsync: Another temp variable fix
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] GAsync: Another temp variable fix
- Date: Wed, 16 Sep 2009 14:57:00 +0000 (UTC)
commit a38390c08cc0dd34f2cff8267f5cf2224926f8f5
Author: Jürg Billeter <j bitron ch>
Date: Wed Sep 16 16:56:22 2009 +0200
GAsync: Another temp variable fix
codegen/valaccodebasemodule.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index aed8f7f..ae1db97 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -2563,7 +2563,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
foreach (LocalVariable local in temp_ref_vars) {
var ma = new MemberAccess.simple (local.name);
ma.symbol_reference = local;
- cfrag.append (new CCodeExpressionStatement (get_unref_expression (new CCodeIdentifier (local.name), local.variable_type, ma)));
+ cfrag.append (new CCodeExpressionStatement (get_unref_expression (get_variable_cexpression (local.name), local.variable_type, ma)));
}
stmt.ccodenode = cfrag;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]