X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fctf-ir%2Ffield-path.c;h=61a57fe3864a5c97dedd599865e4a13b9ca3e259;hb=f6ccaed94e575af57fe6bf38154771bee4871a2a;hp=32ba02ae1ecaabd552c9bfb0c91eb53cb5570fe1;hpb=464ebc311d460b29f681703aea0aa00eef9e6475;p=babeltrace.git diff --git a/lib/ctf-ir/field-path.c b/lib/ctf-ir/field-path.c index 32ba02ae..61a57fe3 100644 --- a/lib/ctf-ir/field-path.c +++ b/lib/ctf-ir/field-path.c @@ -35,6 +35,7 @@ #include #include #include +#include #include static @@ -98,7 +99,7 @@ struct bt_field_path *bt_field_path_copy( { struct bt_field_path *new_path; - assert(path); + BT_ASSERT(path); BT_LOGD("Copying field path: addr=%p, index-count=%u", path, path->indexes->len); new_path = bt_field_path_create();