ret = -1;
goto end;
}
+
nr_fields = bt_field_class_structure_get_member_count(struct_class);
- if (nr_fields < 0) {
- ret = -1;
- goto end;
- }
+
g_string_append(pretty->string, "{");
pretty->depth++;
nr_printed_fields = 0;
uint64_t i;
len = bt_field_array_get_length(seq);
- if (len < 0) {
- ret = -1;
- goto end;
- }
-
g_string_append(pretty->string, "[");
pretty->depth++;