diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-12-10 08:24:20 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-12-10 08:24:20 +0000 |
commit | 21193f790612abde8be2f375ed4533334113e2bf (patch) | |
tree | 4c245c2e7c19e3944abd5337d0dc366fc958cfad /Build/source/texk/kpathsea | |
parent | f73a2eb90adc5243a671607709a1b37911353944 (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/kpathsea')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/mingw32.c | 2 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32lib.c | 4 |
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 */ |