summaryrefslogtreecommitdiff
path: root/navit/attr.c
diff options
context:
space:
mode:
authorhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-12-28 21:23:41 +0000
committerhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-12-28 21:23:41 +0000
commit879880aae058ecf06f515e172769404ff4b7c2cd (patch)
tree236ab8eb139e1c25f251e2c37a27ffe927692735 /navit/attr.c
parent07334a013711c5e14649b85e114f6f451f1fce2a (diff)
downloadnavit-879880aae058ecf06f515e172769404ff4b7c2cd.tar.gz
core:fix:Fix some warnings and do some small cleanups
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1864 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 9e87374d9..007ad8598 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=NULL;
+ char *pos,*type_str,*str,*tok;
int min,max,count;
ret=g_new0(struct attr, 1);