From f07375fb273114da20657699d872e46b72069853 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 23 Oct 2017 16:25:06 +0800 Subject: [PATCH] Regex: remove dead code --- src/regex_impl.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/regex_impl.cc b/src/regex_impl.cc index 7f32bb40..8909d766 100644 --- a/src/regex_impl.cc +++ b/src/regex_impl.cc @@ -712,8 +712,6 @@ private: } case ParsedRegex::Alternation: { - //kak_assert(children.size() > 1); - auto split_pos = m_program.instructions.size(); for_each_child(m_parsed_regex, index, [this, index](ParsedRegex::NodeIndex child) { if (child != index+1)