Fix -Wmissing-prototypes/-Wmissing-declarations warnings
[babeltrace.git] / src / plugins / ctf / common / metadata / visitor-generate-ir.c
index 99d6ae4c83de8ef320a4413a4cce74b939a445de..abac12ae9d7b58e32f3e5bf5565eb2fa68b4a356 100644 (file)
@@ -868,6 +868,7 @@ end:
        return ret;
 }
 
+static
 int get_unary_uuid(struct ctx *ctx, struct bt_list_head *head,
                bt_uuid_t uuid)
 {
@@ -3493,6 +3494,8 @@ int auto_map_fields_to_trace_clock_class(struct ctx *ctx,
                } else if (root_fc->type == CTF_FIELD_CLASS_TYPE_VARIANT) {
                        named_fc = ctf_field_class_variant_borrow_option_by_index(
                                var_fc, i);
+               } else {
+                       abort();
                }
 
                if (strcmp(named_fc->name->str, field_name) == 0) {
This page took 0.02409 seconds and 4 git commands to generate.