projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d56e4
)
-always use 'ret'
author
Christian Grothoff
<christian@grothoff.org>
Thu, 29 Nov 2012 17:57:39 +0000
(17:57 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 29 Nov 2012 17:57:39 +0000
(17:57 +0000)
src/util/os_installation.c
patch
|
blob
|
history
diff --git
a/src/util/os_installation.c
b/src/util/os_installation.c
index c6dca83909528f323d00d38e4ffba91494c02566..674e47a5fe6b22b91f59c09815dcab5e5b178fab 100644
(file)
--- a/
src/util/os_installation.c
+++ b/
src/util/os_installation.c
@@
-429,7
+429,7
@@
os_get_gnunet_path ()
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
@@
os_get_exec_path ()
return ret;
#endif
/* other attempts here */
- return
NULL
;
+ return
ret
;
}