configure: re-enable '-Wunused-parameter'
[babeltrace.git] / src / plugins / ctf / common / metadata / ctf-meta-resolve.cpp
index c77ec46b29c37c9abb3a4e635af968fa2bd4cfc7..423202a94a39831ed115223c7f773b50aed20531 100644 (file)
@@ -278,7 +278,7 @@ end:
 /*
  * Destroys a path token.
  */
-static void ptokens_destroy_func(gpointer ptoken, gpointer data)
+static void ptokens_destroy_func(gpointer ptoken, gpointer)
 {
     g_string_free((GString *) ptoken, TRUE);
 }
@@ -728,8 +728,10 @@ static int64_t get_field_paths_lca_index(struct ctf_field_path *field_path1,
     if (BT_LOG_ON_TRACE) {
         GString *field_path1_pretty = ctf_field_path_string(field_path1);
         GString *field_path2_pretty = ctf_field_path_string(field_path2);
-        const char *field_path1_pretty_str = field_path1_pretty ? field_path1_pretty->str : "(null)";
-        const char *field_path2_pretty_str = field_path2_pretty ? field_path2_pretty->str : "(null)";
+        const char *field_path1_pretty_str =
+            field_path1_pretty ? field_path1_pretty->str : "(null)";
+        const char *field_path2_pretty_str =
+            field_path2_pretty ? field_path2_pretty->str : "(null)";
 
         BT_COMP_LOGD("Finding lowest common ancestor (LCA) between two field paths: "
                      "field-path-1=\"%s\", field-path-2=\"%s\"",
This page took 0.025826 seconds and 4 git commands to generate.