]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
codegen: Remove unused variable
authorLuca Bruno <lucabru@src.gnome.org>
Mon, 9 May 2011 20:50:27 +0000 (22:50 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Mon, 9 May 2011 20:50:33 +0000 (22:50 +0200)
codegen/valaccodebasemodule.vala

index 286786be166fc2b52de7bd2603f550dd9ec3369a..b0a93247619545c483149d10c5e9694f64eb0102 100644 (file)
@@ -4252,7 +4252,6 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
                                        var f = (Field) init.symbol_reference;
                                        var instance_target_type = get_data_type_for_symbol ((TypeSymbol) f.parent_symbol);
                                        var typed_inst = transform_value (new GLibValue (expr.type_reference, instance), instance_target_type, init);
-                                       TargetValue lvalue = get_field_cvalue (f, typed_inst);
                                        store_field (f, typed_inst, init.initializer.target_value);
 
                                        var cl = f.parent_symbol as Class;