git.openpandora.org
/
pandora-libraries.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor fixes for a couple 'uninitialized vars' that gcc here wasn't informing me of :)
[pandora-libraries.git]
/
lib
/
pnd_conf.c
diff --git
a/lib/pnd_conf.c
b/lib/pnd_conf.c
index
64c9ade
..
aece00d
100644
(file)
--- a/
lib/pnd_conf.c
+++ b/
lib/pnd_conf.c
@@
-35,7
+35,7
@@
char *pnd_conf_query_searchpath ( void ) {
temp = pnd_conf_get_as_char ( ch, PND_CONF_KEY );
- if (
searchpath
) {
+ if (
temp
) {
searchpath = strdup ( temp );
} else {
searchpath = strdup ( PND_CONF_SEARCHPATH );