eliminate dead code
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 15 May 2013 14:47:55 +0000 (16:47 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 15 May 2013 14:47:55 +0000 (16:47 +0200)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/callbacks.c

index 3595532d5a05b4234777f5865c44e300b66b4ed0..8a8b3eed5f0d0f15a994cf4c84efcb1b172da70a 100644 (file)
@@ -231,8 +231,6 @@ void process_callbacks(struct bt_ctf_iter *iter,
 
        for (i = 0; i < bt_chain->callback->len; i++) {
                cb = &g_array_index(bt_chain->callback, struct bt_callback, i);
-               if (!cb)
-                       goto end;
                ret = cb->callback(&ctf_data, cb->private_data);
                switch (ret) {
                case BT_CB_OK_STOP:
This page took 0.025993 seconds and 4 git commands to generate.