summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-23 17:22:04 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-23 17:22:04 +0000
commit689f90f901e2657e4663c5707b9eb4d359b82d0b (patch)
tree3411edbef0294b72872cec9117143d39077ae95f /Build
parent8ee4ce87e030dd4e217f99e924233dbbf393e049 (diff)
correct the previous
git-svn-id: svn://tug.org/texlive/trunk@17167 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/tex-make.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Build/source/texk/kpathsea/tex-make.c b/Build/source/texk/kpathsea/tex-make.c
index 5024d97ad18..cddb04dfc8f 100644
--- a/Build/source/texk/kpathsea/tex-make.c
+++ b/Build/source/texk/kpathsea/tex-make.c
@@ -150,7 +150,7 @@ maketex (kpathsea kpse, kpse_file_format_type format, string* args)
*/
unsigned len;
string *s;
- string ret;
+ string ret = NULL;
string fn;
if (!kpse->make_tex_discard_errors) {
@@ -201,7 +201,6 @@ maketex (kpathsea kpse, kpse_file_format_type format, string* args)
#endif
if (look_for_cmd(args[0], &app_name) == FALSE) {
- ret = NULL;
goto error_exit;
}
@@ -331,8 +330,6 @@ maketex (kpathsea kpse, kpse_file_format_type format, string* args)
/* Free the name if we're not returning it. */
if (fn != ret)
free (fn);
- } else {
- ret = NULL;
}
error_exit:
;
@@ -457,8 +454,6 @@ maketex (kpathsea kpse, kpse_file_format_type format, string* args)
/* Free the name if we're not returning it. */
if (fn != ret)
free (fn);
- } else {
- ret = NULL;
}
}
#endif