gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r25166 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r25166 - gnunet/src/util
Date: Thu, 29 Nov 2012 18:57:39 +0100

Author: grothoff
Date: 2012-11-29 18:57:39 +0100 (Thu, 29 Nov 2012)
New Revision: 25166

Modified:
   gnunet/src/util/os_installation.c
Log:
-always use 'ret'

Modified: gnunet/src/util/os_installation.c
===================================================================
--- gnunet/src/util/os_installation.c   2012-11-29 14:54:54 UTC (rev 25165)
+++ gnunet/src/util/os_installation.c   2012-11-29 17:57:39 UTC (rev 25166)
@@ -429,7 +429,7 @@
 static char *
 os_get_exec_path ()
 {
-  char *ret;
+  char *ret = NULL;
 
 #if LINUX
   if (NULL != (ret = get_path_from_proc_exe ()))
@@ -444,7 +444,7 @@
     return ret;
 #endif
   /* other attempts here */
-  return NULL;
+  return ret;
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]