diff --git a/libdm/regex/parse_rx.c b/libdm/regex/parse_rx.c index 332f16dd1..ea3922fec 100644 --- a/libdm/regex/parse_rx.c +++ b/libdm/regex/parse_rx.c @@ -574,6 +574,7 @@ static struct rx_node *_pass(struct dm_pool *mem, if (!(r->left = _pass(mem, r->left, changed))) return_NULL; + break; case OR: /* It's important we optimise sub nodes first */ if (!(r->left = _pass(mem, r->left, changed)))