From d33f2457785b06ba665ba5f299f07a142430246f Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Fri, 3 Apr 2015 22:23:36 +0100 Subject: [PATCH] Removed useless NULL check (all NULL destination states handled in DFA::prepare). --- re2c/code.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re2c/code.cc b/re2c/code.cc index 9408f222..1a3827f6 100644 --- a/re2c/code.cc +++ b/re2c/code.cc @@ -922,7 +922,7 @@ void DFA::findBaseState() { State *to = s->go.span[i].to; - if (to && to->isBase) + if (to->isBase) { to = to->go.span[0].to; uint nSpans = merge(span, s, to); -- 2.40.0