From: Rico Tzschichholz Date: Mon, 14 Jan 2019 16:20:55 +0000 (+0100) Subject: codegen: Don't evaluate "pos" CCode attribute early X-Git-Tag: 0.43.5~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e82cafa720da4003c3d5034d9de1f94a943e508f;p=thirdparty%2Fvala.git codegen: Don't evaluate "pos" CCode attribute early --- diff --git a/codegen/valaccodeattribute.vala b/codegen/valaccodeattribute.vala index ea099de46..52ef9a01c 100644 --- a/codegen/valaccodeattribute.vala +++ b/codegen/valaccodeattribute.vala @@ -659,9 +659,6 @@ public class Vala.CCodeAttribute : AttributeCache { array_length_type = ccode.get_string ("array_length_type"); array_length_name = ccode.get_string ("array_length_cname"); array_length_expr = ccode.get_string ("array_length_cexpr"); - if (ccode.has_argument ("pos")) { - _pos = ccode.get_double ("pos"); - } sentinel = ccode.get_string ("sentinel"); } if (sentinel == null) {