diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2012-05-20 14:25:51 +0000 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2012-05-20 14:25:51 +0000 |
commit | 3a4b0693a037162b22b832ee8ec7356e41e3c40e (patch) | |
tree | df474f7460cb14d7c3c366c11914de9da31f816b /Build/source | |
parent | 387a99f57235611dd9ea685c0b8de8cce505095a (diff) |
Fix warning spetted by Peter
git-svn-id: svn://tug.org/texlive/trunk@26505 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/mlist.w | 2 |
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); |