From 689f90f901e2657e4663c5707b9eb4d359b82d0b Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 23 Feb 2010 17:22:04 +0000 Subject: correct the previous git-svn-id: svn://tug.org/texlive/trunk@17167 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/tex-make.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Build') 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 -- cgit v1.2.3