Sort includes in C++ files
[babeltrace.git] / src / plugins / ctf / common / metadata / ctf-meta-translate.cpp
index 6f066b772b01cb395aa1e79e59b5b85009d58d0e..21df1c2c35e75229623a2b8ee3701286b0c5dbc0 100644 (file)
@@ -4,14 +4,16 @@
  * Copyright 2018 Philippe Proulx <pproulx@efficios.com>
  */
 
-#include <babeltrace2/babeltrace.h>
-#include "common/macros.h"
-#include "common/assert.h"
 #include <glib.h>
+#include <inttypes.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <string.h>
-#include <inttypes.h>
+
+#include <babeltrace2/babeltrace.h>
+
+#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;
This page took 0.038045 seconds and 4 git commands to generate.