[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r118128: * bidi.c (bidi_find_bracket_pairs): Initial
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] trunk r118128: * bidi.c (bidi_find_bracket_pairs): Initialize local var. |
Date: |
Wed, 15 Oct 2014 17:53:07 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 118128
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Wed 2014-10-15 10:53:04 -0700
message:
* 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.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/bidi.c bidi.c-20091231194348-rm8gzug639w0dpq5-1
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-10-15 17:32:41 +0000
+++ b/src/ChangeLog 2014-10-15 17:53:04 +0000
@@ -1,3 +1,10 @@
+2014-10-15 Paul Eggert <address@hidden>
+
+ * 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 <address@hidden>
* lisp.mk (lisp): Add emacs-lisp/eldoc.elc.
=== modified file 'src/bidi.c'
--- a/src/bidi.c 2014-10-15 12:23:59 +0000
+++ b/src/bidi.c 2014-10-15 17:53:04 +0000
@@ -2450,7 +2450,7 @@
}
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r118128: * bidi.c (bidi_find_bracket_pairs): Initialize local var.,
Paul Eggert <=