summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/progname.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-07-30 11:13:51 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-07-30 11:13:51 +0000
commitbe3092e5ae97b2849b4eb4710bda635c670c5ee6 (patch)
tree56698a8e4471a4df294d18bc646208c1af707e01 /Build/source/texk/kpathsea/progname.c
parent35415781f9b07704a404491bd1092ec880cec8c1 (diff)
kpathsea: minor cleanup
git-svn-id: svn://tug.org/texlive/trunk@23277 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/progname.c')
-rw-r--r--Build/source/texk/kpathsea/progname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/progname.c b/Build/source/texk/kpathsea/progname.c
index 9313ccbabb0..a4b1272fe34 100644
--- a/Build/source/texk/kpathsea/progname.c
+++ b/Build/source/texk/kpathsea/progname.c
@@ -335,9 +335,9 @@ remove_dots (kpathsea kpse, string dir)
string
kpathsea_selfdir (kpathsea kpse, const_string argv0)
{
- string ret = NULL;
string self = NULL;
string name;
+ string ret;
if (kpathsea_absolute_p (kpse, argv0, true)) {
self = xstrdup (argv0);