summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-12-06 23:14:03 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-12-06 23:14:03 +0000
commit03f0b1ba5b6294828340360e9aa86de134de16cf (patch)
tree841f3d12d536b1b2345932a1b688b2cd4491961f /Build
parent6937c88bc5eec127cd58cb4337d5351741fdf782 (diff)
Remove unused variables
git-svn-id: svn://tug.org/texlive/trunk@32347 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog7
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_ext.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog
index 6e52dc09bf8..9fdda910854 100644
--- a/Build/source/texk/web2c/xetexdir/ChangeLog
+++ b/Build/source/texk/web2c/xetexdir/ChangeLog
@@ -1,3 +1,10 @@
+2013-12-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * XeTeX_ext.c: Remove unused variables.
+ 'i' in read_tag_with_param(const char* cp, int* param), and
+ 'x', 'y' in a block if (fontarea[f] == OTGR_FONT_FLAG) {
+ in measure_native_node(void* pNode, int use_glyph_metrics).
+
2013-12-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* XeTeX_ext.c: Rewrite command line for popen(). Windows only.
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
index 60859b7ab12..0d83b07aca7 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
+++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
@@ -720,7 +720,6 @@ read_tag_with_param(const char* cp, int* param)
{
const char* cp2;
hb_tag_t tag;
- int i;
cp2 = cp;
while (*cp2 && (*cp2 != ':') && (*cp2 != ';') && (*cp2 != ',') && (*cp2 != '='))
@@ -2004,7 +2003,6 @@ measure_native_node(void* pNode, int use_glyph_metrics)
/* need to find direction runs within the text, and call layoutChars separately for each */
UBiDiDirection dir;
- float x, y;
void* glyph_info = 0;
static float* positions = 0;
static float* advances = 0;