Remove unneeded declaration "name", work in progress for gen io struct
[babeltrace.git] / types / array.c
index 3e1f2181be8d16193966163f158fe7e0a1e46ca2..c218a11a8bb1a2c66fbf7d0c06d81ba322084ef5 100644 (file)
@@ -58,7 +58,7 @@ void _array_declaration_free(struct declaration *declaration)
 }
 
 struct declaration_array *
-       array_declaration_new(const char *name, size_t len,
+       array_declaration_new(size_t len,
                              struct declaration *elem_declaration,
                              struct declaration_scope *parent_scope)
 {
@@ -72,7 +72,6 @@ struct declaration_array *
        array_declaration->elem = elem_declaration;
        array_declaration->scope = new_declaration_scope(parent_scope);
        declaration->id = CTF_TYPE_ARRAY;
-       declaration->name = g_quark_from_string(name);
        /* No need to align the array, the first element will align itself */
        declaration->alignment = 1;
        declaration->copy = array_copy;
This page took 0.024176 seconds and 4 git commands to generate.