Babeltrace type: build warning cleanup
[babeltrace.git] / types / float.c
index abbd86d5fb4d2aff1c0d5eb6da61f43b79eae216..2ce6b5929d50d5f5609ef1ee8c96787208acd9df 100644 (file)
@@ -59,7 +59,6 @@ struct type_class_float *float_type_new(const char *name,
                                        size_t alignment)
 {
        struct type_class_float *float_class;
-       struct type_class_integer *int_class;
        struct type_class *type_class;
        int ret;
 
@@ -87,7 +86,7 @@ struct type_class_float *float_type_new(const char *name,
                goto error_exp;
 
        if (float_class->p.name) {
-               ret = ctf_register_type(&float_class->p);
+               ret = register_type(&float_class->p);
                if (ret)
                        goto error_register;
        }
This page took 0.031237 seconds and 4 git commands to generate.