1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-08 15:35:02 +00:00

* bidi.c (bidi_find_bracket_pairs): Initialize local var.

This pacifies GCC 4.9.1 with --enable-gcc-warnings.
It's not clear to me whether the initialization is needed,
but it can't hurt so I played it safe.
This commit is contained in:
Paul Eggert 2014-10-15 10:53:04 -07:00
parent 290569dcce
commit efd91b5847
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2014-10-15 Paul Eggert <eggert@cs.ucla.edu>
* bidi.c (bidi_find_bracket_pairs): Initialize local var.
This pacifies GCC 4.9.1 with --enable-gcc-warnings.
It's not clear to me whether the initialization is needed,
but it can't hurt so I played it safe.
2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
* lisp.mk (lisp): Add emacs-lisp/eldoc.elc.

View File

@ -2450,7 +2450,7 @@ bidi_find_bracket_pairs (struct bidi_it *bidi_it)
}
else if (bidi_get_category (bidi_it->type_after_wn) != NEUTRAL)
{
unsigned flag;
unsigned flag = 0;
int sp;
/* Whenever we see a strong type, update the flags of