tap-driver.sh: flush stdout after each test result
[babeltrace.git] / plugins / lttng-utils / debug-info / trace-ir-metadata-field-class-copy.c
index a256beda74e49c7fe9920cef05a2892ed718fb47..1247e598cbc247fa43f6a7dc7f27fc5e6991fbaf 100644 (file)
 #define BT_LOG_TAG "PLUGIN-LTTNG-UTILS-DEBUG-INFO-TRACE-IR-METADATA-FC-COPY"
 #include "logging.h"
 
-#include <babeltrace/assert-internal.h>
-#include <babeltrace/common-internal.h>
-#include <babeltrace/compiler-internal.h>
-#include <babeltrace/babeltrace.h>
+#include <babeltrace2/assert-internal.h>
+#include <babeltrace2/common-internal.h>
+#include <babeltrace2/compiler-internal.h>
+#include <babeltrace2/babeltrace.h>
 
 #include "trace-ir-metadata-copy.h"
 #include "trace-ir-metadata-field-class-copy.h"
@@ -299,7 +299,7 @@ int field_class_signed_enumeration_copy(
                                        i_mapping, range_index, &lower, &upper);
 
                        BT_LOGD("Copying range in enumeration field class: "
-                                       "label=%s, lower=%ld, upper=%ld",
+                                       "label=%s, lower=%"PRId64", upper=%"PRId64,
                                        label, lower, upper);
 
                        /* Add the label and its range to the copy field class. */
@@ -418,7 +418,7 @@ int field_class_variant_copy(
                const bt_field_class *in_field_class,
                bt_field_class *out_field_class)
 {
-       bt_field_class *out_tag_field_class;
+       bt_field_class *out_tag_field_class = NULL;
        uint64_t i, variant_option_count;
        const bt_field_path *tag_fp;
        const bt_field_class *tag_fc;
This page took 0.024671 seconds and 4 git commands to generate.