X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Ffloat.c;h=5ce6bb43628cfa907c32228be83c03696de8d30a;hp=1efd5ed3624ccf4be0c9469d1a88aabd55d44e5a;hb=312623540c466defab45503fbe0ce7ec79dcce85;hpb=809cbff588674d09c14b128eb95d332048382770 diff --git a/types/float.c b/types/float.c index 1efd5ed3..5ce6bb43 100644 --- a/types/float.c +++ b/types/float.c @@ -103,6 +103,8 @@ struct definition * } _float->p.ref = 1; _float->p.index = index; + _float->p.name = field_name; + _float->p.path = new_definition_path(parent_scope, field_name); _float->value = 0.0; return &_float->p; }