diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2009-06-04 06:55:59 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2009-06-04 06:55:59 +0000 |
commit | 25e7ea0b0a91e26fcee46d54cc67f82b5253f504 (patch) | |
tree | 9cf7bcb0e7dae279ec16dc456664b191a2a9c86d /Build/source/texk/web2c/luatexdir/tex/primitive.c | |
parent | 68ecfa2478c6a1418f0b37565693eb67d0317387 (diff) |
"avoid variable declaration after statement" patch from Vladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@13625 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/primitive.c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/primitive.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/primitive.c b/Build/source/texk/web2c/luatexdir/tex/primitive.c index aef93f7b5c0..61422a2058d 100644 --- a/Build/source/texk/web2c/luatexdir/tex/primitive.c +++ b/Build/source/texk/web2c/luatexdir/tex/primitive.c @@ -331,6 +331,7 @@ primitive(str_number ss, quarterword c, halfword o, halfword off, { str_number s; /* actual |str_number| used */ integer prim_val; /* needed to fill |prim_eqtb| */ + char *thes; assert(o >= off); if (ss < string_offset) { if (ss > 127) @@ -340,7 +341,7 @@ primitive(str_number ss, quarterword c, halfword o, halfword off, } else { s = ss; } - char *thes = makecstring(s); + thes = makecstring(s); if (cmd_origin == tex_command || cmd_origin == core_command) { primitive_def(thes, strlen(thes), c, o); } |