summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/kpathsea/ChangeLog4
-rw-r--r--Build/source/texk/kpathsea/kpsewhich.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 8a653d57d76..e32cd0cdc4b 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-03 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * kpsewhich.c (find_format): Drop unused variable 'try_len'.
+
2011-04-28 Karl Berry <karl@tug.org>
* kpsewhich.c (try_suffix): new fn, checking entire string for
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c
index ebc8b50967c..7746bd7058d 100644
--- a/Build/source/texk/kpathsea/kpsewhich.c
+++ b/Build/source/texk/kpathsea/kpsewhich.c
@@ -223,7 +223,6 @@ find_format (kpathsea kpse, string name, boolean is_filename)
unsigned name_len = strlen (name);
while (f != kpse_last_format) {
- unsigned try_len;
const_string *ext;
const_string ftry;
boolean found = false;