Expose text arrays the same way as regular arrays
[babeltrace.git] / formats / ctf / types / array.c
index ea3ecfd8a656d5db9b4f389ee1302b5b6b5926ca..04801d4f05455df71160f85b4cd0ed6d58c9d180 100644 (file)
@@ -56,8 +56,6 @@ int ctf_array_read(struct bt_stream_pos *ppos, struct bt_definition *definition)
                                g_string_insert_len(array_definition->string,
                                        0, (char *) ctf_get_pos_addr(pos),
                                        array_declaration->len);
-                               ctf_move_pos(pos, array_declaration->len * CHAR_BIT);
-                               return 0;
                        }
                }
        }
This page took 0.022823 seconds and 4 git commands to generate.