summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/mingw32.c2
-rw-r--r--Build/source/texk/kpathsea/win32lib.c4
3 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index ffa0e1d583b..6df22070d30 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-08 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * mingw32.c (look_for_cmd): Do not compute unused value.
+ * win32lib.c (look_for_cmd, kpathsea_win32_popen): Same.
+
2012-11-28 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmf.cnf: Increase main_memory, font_mem_size, hash_extra,
diff --git a/Build/source/texk/kpathsea/mingw32.c b/Build/source/texk/kpathsea/mingw32.c
index 488bc013e11..746e7452b34 100644
--- a/Build/source/texk/kpathsea/mingw32.c
+++ b/Build/source/texk/kpathsea/mingw32.c
@@ -454,7 +454,7 @@ look_for_cmd(const char *cmd, char **app)
}
/* Looking for appname on the path */
- for (s = suffixes, go_on = TRUE; go_on; *s++) {
+ for (s = suffixes, go_on = TRUE; go_on; s++) {
if (SearchPath(env_path, /* Address of search path */
app_name, /* Address of filename */
*s, /* Address of extension */
diff --git a/Build/source/texk/kpathsea/win32lib.c b/Build/source/texk/kpathsea/win32lib.c
index bff2f1e94ee..9573346bc74 100644
--- a/Build/source/texk/kpathsea/win32lib.c
+++ b/Build/source/texk/kpathsea/win32lib.c
@@ -90,7 +90,7 @@ FILE * __cdecl kpathsea_win32_popen (kpathsea kpse, const char *cmd, const char
}
/* Looking for appname on the path */
- for (s = suffixes, go_on = TRUE; go_on; *s++) {
+ for (s = suffixes, go_on = TRUE; go_on; s++) {
if (SearchPath(env_path, /* Address of search path */
app_name, /* Address of filename */
*s, /* Address of extension */
@@ -629,7 +629,7 @@ look_for_cmd(const char *cmd, char **app, char **new)
}
/* Looking for appname on the path */
- for (s = suffixes, go_on = TRUE; go_on; *s++) {
+ for (s = suffixes, go_on = TRUE; go_on; s++) {
if (SearchPath(env_path, /* Address of search path */
app_name, /* Address of filename */
*s, /* Address of extension */