X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Finteger.c;fp=types%2Finteger.c;h=5f9989b2111493ad0bdfe98c27805faf33d598e9;hp=6a95b939c70526a3ecaba05dfd2c5a111d11a6ab;hb=a35173fe7e72fe456cbd19db34a5ff7a09a0c7ff;hpb=c6e183c2bacc6ee12b0545ef47fb41b63686d8c8 diff --git a/types/integer.c b/types/integer.c index 6a95b939..5f9989b2 100644 --- a/types/integer.c +++ b/types/integer.c @@ -84,6 +84,7 @@ struct definition * integer->p.name = field_name; integer->p.path = new_definition_path(parent_scope, field_name, root_name); + integer->p.scope = NULL; integer->value._unsigned = 0; ret = register_field_definition(field_name, &integer->p, parent_scope);