From 432e1e621c428190d752af86017ad99199b05292 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 5 Oct 2009 10:31:29 +0000 Subject: bsdism --- src/util/os_installation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/util/os_installation.c') diff --git a/src/util/os_installation.c b/src/util/os_installation.c index 39b5174e3..a8789281e 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c @@ -314,6 +314,7 @@ os_get_exec_path () { char *ret; + ret = NULL; #if LINUX ret = get_path_from_proc_exe (); if (ret != NULL) @@ -330,7 +331,7 @@ os_get_exec_path () return ret; #endif /* other attempts here */ - return NULL; + return ret; } -- cgit v1.2.3