summaryrefslogtreecommitdiff
path: root/Build/source/texk/cjkutils
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-12-10 08:24:20 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-12-10 08:24:20 +0000
commit21193f790612abde8be2f375ed4533334113e2bf (patch)
tree4c245c2e7c19e3944abd5337d0dc366fc958cfad /Build/source/texk/cjkutils
parentf73a2eb90adc5243a671607709a1b37911353944 (diff)
Drop unused variables (gcc 4.6 -Wunused-but-set-cariable)
git-svn-id: svn://tug.org/texlive/trunk@28488 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/cjkutils')
-rw-r--r--Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/ChangeLog4
-rw-r--r--Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/patch-02-unused16
-rw-r--r--Build/source/texk/cjkutils/cjkutils-4.8.3/hbf2gf/hbf.c2
3 files changed, 20 insertions, 2 deletions
diff --git a/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/ChangeLog b/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/ChangeLog
index c6b678cd7d8..92c96bdf931 100644
--- a/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/ChangeLog
+++ b/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-07 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-02-unused (new): Drop unused variable (gcc-4.6 warning).
+
2012-05-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* patch-01-static (new): Build fix for 64-bit Mac OS X 10.7.3.
diff --git a/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/patch-02-unused b/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/patch-02-unused
new file mode 100644
index 00000000000..cf4838d5781
--- /dev/null
+++ b/Build/source/texk/cjkutils/cjkutils-4.8.3-PATCHES/patch-02-unused
@@ -0,0 +1,16 @@
+diff -ur cjkutils-4.8.3.orig/hbf2gf/hbf.c cjkutils-4.8.3/hbf2gf/hbf.c
+--- cjkutils-4.8.3.orig/hbf2gf/hbf.c 2012-05-07 00:00:00.000000000 +0200
++++ cjkutils-4.8.3/hbf2gf/hbf.c 2012-12-07 10:57:31.000000000 +0100
+@@ -1041,12 +1041,10 @@
+ {
+ if (LocalFileName(filename) && path != NULL) {
+ #ifdef PATH_DELIMITER
+- int len;
+ char *fullname;
+ FILE *f;
+ const char *p_next;
+
+- len = strlen(filename);
+ for (;;) {
+ p_next = strchr(path, PATH_DELIMITER);
+ if (p_next == NULL)
diff --git a/Build/source/texk/cjkutils/cjkutils-4.8.3/hbf2gf/hbf.c b/Build/source/texk/cjkutils/cjkutils-4.8.3/hbf2gf/hbf.c
index 6056555d704..1491a025727 100644
--- a/Build/source/texk/cjkutils/cjkutils-4.8.3/hbf2gf/hbf.c
+++ b/Build/source/texk/cjkutils/cjkutils-4.8.3/hbf2gf/hbf.c
@@ -1041,12 +1041,10 @@ path_open(const char *path, const char *filename, char **fullp)
{
if (LocalFileName(filename) && path != NULL) {
#ifdef PATH_DELIMITER
- int len;
char *fullname;
FILE *f;
const char *p_next;
- len = strlen(filename);
for (;;) {
p_next = strchr(path, PATH_DELIMITER);
if (p_next == NULL)