Commit 072274d0 authored by Christian Persch's avatar Christian Persch

parser: Assert that the parser is not in an unknown state

Don't print a useless warning, but use an assertion instead.
parent 3f81d804
......@@ -1361,8 +1361,8 @@ parser_feed_to_state(vte_parser_t* parser,
ACTION_IGNORE);
}
g_warning("bad vte-parser state");
return -EINVAL;
g_assert_not_reached();
return VTE_SEQ_NONE;
}
int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment