summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/mlist.w2
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog
index 5081c7db9a6..17ca3758dd5 100644
--- a/Build/source/texk/web2c/luatexdir/ChangeLog
+++ b/Build/source/texk/web2c/luatexdir/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-20 Khaled Hosny <khaledhosny@eglug.org>
+
+ * tex/mlist.w: fix "warning: 'ext' might be used uninitialized".
+
2012-05-18 Taco Hoekwater <taco@luatex.org>
* lua/ltexlib.c: fix a ConTeXt crash on `\endinput \end`.
diff --git a/Build/source/texk/web2c/luatexdir/tex/mlist.w b/Build/source/texk/web2c/luatexdir/tex/mlist.w
index dc76095e862..eca4010580b 100644
--- a/Build/source/texk/web2c/luatexdir/tex/mlist.w
+++ b/Build/source/texk/web2c/luatexdir/tex/mlist.w
@@ -2061,9 +2061,9 @@ static void do_make_math_accent(pointer q, internal_font_number f, int c,
}
/* Switch to a larger accent if available and appropriate */
y = null;
+ ext = NULL;
if ((flags & STRETCH_ACCENT_CODE) && (char_width(f, c) < w)) {
while (1) {
- ext = NULL;
if ((char_tag(f, c) == ext_tag) &&
((ext = get_charinfo_hor_variants(char_info(f, c))) != NULL)) {
y = get_delim_hbox(ext, f, w, node_attr(attr_p), cur_style);