[vala] codegen: Remove unused variable in gtype module



commit 3a53deeaea6dd19edcd99fe40ab42ace62b1d456
Author: Luca Bruno <lucabru src gnome org>
Date:   Thu May 5 23:06:10 2011 +0200

    codegen: Remove unused variable in gtype module

 codegen/valagtypemodule.vala |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagtypemodule.vala b/codegen/valagtypemodule.vala
index 81e9946..b84bd15 100644
--- a/codegen/valagtypemodule.vala
+++ b/codegen/valagtypemodule.vala
@@ -764,7 +764,6 @@ public class Vala.GTypeModule : GErrorModule {
 		push_function (function);
 
 		var vpointer = new CCodeMemberAccess (new CCodeMemberAccess.pointer (new CCodeIdentifier ("value"), "data[0]"), "v_pointer");
-		var ret = new CCodeReturnStatement ( vpointer );
 		ccode.add_return (vpointer);
 
 		pop_function ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]