summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
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