X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Fcommon%2Fmetadata%2Fctf-meta-translate.cpp;h=21df1c2c35e75229623a2b8ee3701286b0c5dbc0;hb=c802cacb9f0879a42e01575595a75bbefe7d3db9;hp=6f066b772b01cb395aa1e79e59b5b85009d58d0e;hpb=1353b066072e6c389ff35853bac83f65597e7a6a;p=babeltrace.git diff --git a/src/plugins/ctf/common/metadata/ctf-meta-translate.cpp b/src/plugins/ctf/common/metadata/ctf-meta-translate.cpp index 6f066b77..21df1c2c 100644 --- a/src/plugins/ctf/common/metadata/ctf-meta-translate.cpp +++ b/src/plugins/ctf/common/metadata/ctf-meta-translate.cpp @@ -4,14 +4,16 @@ * Copyright 2018 Philippe Proulx */ -#include -#include "common/macros.h" -#include "common/assert.h" #include +#include #include #include #include -#include + +#include + +#include "common/assert.h" +#include "common/macros.h" #include "ctf-meta-visitors.hpp" @@ -129,7 +131,7 @@ static inline bt_field_class *ctf_field_class_float_to_ir(struct ctx *ctx, } static inline bt_field_class *ctf_field_class_string_to_ir(struct ctx *ctx, - struct ctf_field_class_string *fc) + struct ctf_field_class_string *) { bt_field_class *ir_fc = bt_field_class_string_create(ctx->ir_tc); @@ -139,9 +141,8 @@ static inline bt_field_class *ctf_field_class_string_to_ir(struct ctx *ctx, static inline void translate_struct_field_class_members(struct ctx *ctx, struct ctf_field_class_struct *fc, - bt_field_class *ir_fc, - bool with_header_prefix, - struct ctf_field_class_struct *context_fc) + bt_field_class *ir_fc, bool, + struct ctf_field_class_struct *) { uint64_t i; int ret; @@ -623,7 +624,7 @@ int ctf_trace_class_translate(bt_self_component *self_comp, bt_trace_class *ir_t { int ret = 0; uint64_t i; - struct ctx ctx = {0}; + struct ctx ctx = {}; ctx.self_comp = self_comp; ctx.tc = tc;