tests/lib: do not call bt_ctf_trace_set_native_byte_order() if not needed
[babeltrace.git] / tests / lib / test_ctf_ir_ref.c
index 60a8b55334db6f900eb4ab7248038a5bbd7736de..bf277b83312bfca2bd4e49f027671563b430885e 100644 (file)
@@ -374,9 +374,6 @@ static struct bt_ctf_trace *create_tc1(void)
        }
 
        set_trace_packet_header(tc1);
-       ret = bt_ctf_trace_set_native_byte_order(tc1,
-               BT_CTF_BYTE_ORDER_LITTLE_ENDIAN);
-       assert(ret == 0);
        sc1 = create_sc1();
        ok(sc1, "Create SC1");
        if (!sc1) {
This page took 0.024031 seconds and 4 git commands to generate.