summaryrefslogtreecommitdiff
path: root/navit/attr.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-11-06 21:46:19 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-11-06 21:46:19 +0000
commit802873cb504a9e5e1d19ee47fa00bfcb8f524d97 (patch)
tree79fec0917e3471c2455c39c72485831b158ebd1d /navit/attr.c
parentae0287caa2ea32f6a7973dc0c9d020d2b4bfbe92 (diff)
downloadnavit-802873cb504a9e5e1d19ee47fa00bfcb8f524d97.tar.gz
Fix:Core:Fix some compile warnings
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1663 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/attr.c')
-rw-r--r--navit/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/attr.c b/navit/attr.c
index 2caa09cfa..c3e9ee9d0 100644
--- a/navit/attr.c
+++ b/navit/attr.c
@@ -74,7 +74,7 @@ attr_new_from_text(const char *name, const char *value)
struct attr *ret;
struct coord_geo *g;
struct coord c;
- char *pos,*type_str,*str,*tok,*saveptr;
+ char *pos,*type_str,*str,*tok,*saveptr=NULL;
int min,max,count;
ret=g_new0(struct attr, 1);