From: Paul Eggert Date: Mon, 2 Jan 2017 16:27:12 +0000 (-0800) Subject: dfa: remove duplicate assignment X-Git-Tag: v1.0~6427 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=5c810462f1036c0f2c644b08cfe60f7b336d9650;p=gnulib.git dfa: remove duplicate assignment Problem reported by Bruno Haible in: http://lists.gnu.org/archive/html/bug-gnulib/2017-01/msg00007.html * lib/dfa.c (parse_bracket_exp): Simplify. --- diff --git a/ChangeLog b/ChangeLog index 2b8cbc11bc..6ee238002d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-01-02 Paul Eggert + + dfa: remove duplicate assignment + Problem reported by Bruno Haible in: + http://lists.gnu.org/archive/html/bug-gnulib/2017-01/msg00007.html + * lib/dfa.c (parse_bracket_exp): Simplify. + 2017-01-01 Paul Eggert dfa: simplify constraint-dependency checking diff --git a/lib/dfa.c b/lib/dfa.c index cd600aa1e6..6f0a12fcaa 100644 --- a/lib/dfa.c +++ b/lib/dfa.c @@ -1019,7 +1019,6 @@ parse_bracket_exp (struct dfa *dfa) if (invert) { FETCH_WC (dfa, c, wc, _("unbalanced [")); - invert = true; known_bracket_exp = dfa->simple_locale; }