]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
codegen: Don't evaluate "pos" CCode attribute early
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 14 Jan 2019 16:20:55 +0000 (17:20 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 14 Jan 2019 16:20:55 +0000 (17:20 +0100)
codegen/valaccodeattribute.vala

index ea099de46404eb24965dff9fb985aec26e4d88c7..52ef9a01cbf15ea12b14c7049c99b524d366a064 100644 (file)
@@ -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) {