Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I21c5641869afca1fcac301f612d02d2cb10583db
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1293
Reviewed-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- /* Fall through default case. */
default:
got_star = false;
break;
default:
got_star = false;
break;
* Fall through the default case which compares
* the escaped character now.
*/
* Fall through the default case which compares
* the escaped character now.
*/
default:
if (at_end_of_pattern(p, pattern, pattern_len) ||
*c != *p) {
default:
if (at_end_of_pattern(p, pattern, pattern_len) ||
*c != *p) {
case CTF_FIELD_CLASS_TYPE_SEQUENCE:
{
struct ctf_field_class_array_base *array_fc = (void *) fc;
case CTF_FIELD_CLASS_TYPE_SEQUENCE:
{
struct ctf_field_class_array_base *array_fc = (void *) fc;
parent->u.field_class_alias.target = node;
else
return -EINVAL;
parent->u.field_class_alias.target = node;
else
return -EINVAL;
case NODE_TYPEALIAS_ALIAS:
if (parent->type == NODE_TYPEALIAS)
parent->u.field_class_alias.alias = node;
else
return -EINVAL;
case NODE_TYPEALIAS_ALIAS:
if (parent->type == NODE_TYPEALIAS)
parent->u.field_class_alias.alias = node;
else
return -EINVAL;
case NODE_TYPEALIAS:
return reparent_field_class_alias(node, parent);
case NODE_TYPEALIAS:
return reparent_field_class_alias(node, parent);