Cleanup: usages of bt_value_array_borrow_element_by_index{,_const}()
[babeltrace.git] / src / lib / value.c
index 9cef6ef2cc9d903915eae3be5e78307aa75a2e17..96c01ac453f9d79abcd0410cb82488a029f467e0 100644 (file)
@@ -197,7 +197,6 @@ struct bt_value *bt_value_array_copy(const struct bt_value *array_obj)
                        bt_value_array_borrow_element_by_index_const(
                                array_obj, i);
 
-               BT_ASSERT(element_obj);
                BT_LOGD("Copying array value's element: element-addr=%p, "
                        "index=%d", element_obj, i);
                ret = bt_value_copy(element_obj, &element_obj_copy);
This page took 0.024076 seconds and 4 git commands to generate.