diff options
author | kazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-01-28 14:32:54 +0000 |
---|---|---|
committer | kazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-01-28 14:32:54 +0000 |
commit | 62f07480f4783be241cb255f951d9ad790991da7 (patch) | |
tree | d03a9ede85d4484291b546807351edceead2a26b /navit/support | |
parent | 12a67c31fb78560b6681441267673544acba0cff (diff) | |
download | navit-62f07480f4783be241cb255f951d9ad790991da7.tar.gz |
Patch:Android:Applied patch 'android_fix.patch' from ticket #538 and #522, librairies loading
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2933 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/support')
-rw-r--r-- | navit/support/wordexp/wordexp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/support/wordexp/wordexp.c b/navit/support/wordexp/wordexp.c index bacaea57c..868b482d1 100644 --- a/navit/support/wordexp/wordexp.c +++ b/navit/support/wordexp/wordexp.c @@ -83,7 +83,7 @@ int wordexp(const char *words, wordexp_t *we, int flags) { int i; - int error; + int error = 0; char *words_expanded; #ifdef HAVE_API_WIN32_BASE glob_t pglob; @@ -94,7 +94,6 @@ wordexp(const char *words, wordexp_t *we, int flags) /* expansion of ´$NAME´ or ´${NAME}´ */ words_expanded=expand_variables(words); - #ifdef HAVE_API_WIN32_BASE /* expansion of ´*´, ´?´ */ error=glob(words_expanded, 0, NULL, &pglob); |