diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-05-01 22:17:54 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-05-01 22:17:54 +0000 |
commit | 10da0c80bac4418e1302c5390190fd6d83776f8c (patch) | |
tree | 890c6eb31e4d2081189e4b521d921e4b579124f7 /navit/vehicle/demo/vehicle_demo.c | |
parent | 5fdf7a149be0143b0d8864a99076939726f36fb3 (diff) | |
download | navit-10da0c80bac4418e1302c5390190fd6d83776f8c.tar.gz |
Fix:vehicle_demo:Do not log spurious warning for attribute 'name'.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5465 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/vehicle/demo/vehicle_demo.c')
-rw-r--r-- | navit/vehicle/demo/vehicle_demo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/vehicle/demo/vehicle_demo.c b/navit/vehicle/demo/vehicle_demo.c index 24319a6aa..75c845afc 100644 --- a/navit/vehicle/demo/vehicle_demo.c +++ b/navit/vehicle/demo/vehicle_demo.c @@ -159,7 +159,8 @@ vehicle_demo_set_attr_do(struct vehicle_priv *priv, struct attr *attr) break; case attr_profilename: case attr_source: - // Ignore; is always present, but not read by this vehicle. + case attr_name: + // Ignore; used by Navit's infrastructure, but not relevant for this vehicle. break; default: dbg(0,"unsupported attribute %s\n",attr_to_name(attr->type)); |