diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-11-12 15:31:00 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-11-12 15:31:00 +0000 |
commit | b7e166eb030b3a07d89649288605f2b0d8be5fa9 (patch) | |
tree | 3124eb9374e806802fb8ae5680c56c0b8a18a28a /navit/vehicle.c | |
parent | d7bf3a3abf5d2b2a1c395c11e9548c203ebf4fde (diff) | |
download | navit-b7e166eb030b3a07d89649288605f2b0d8be5fa9.tar.gz |
Fix:Core:Cleaned up useless vehicle parameter
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2745 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/vehicle.c')
-rw-r--r-- | navit/vehicle.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/navit/vehicle.c b/navit/vehicle.c index 6fe75ee1e..cf9331861 100644 --- a/navit/vehicle.c +++ b/navit/vehicle.c @@ -193,12 +193,11 @@ vehicle_get_attr(struct vehicle *this_, enum attr_type type, struct attr *attr, * @param attrs */ int -vehicle_set_attr(struct vehicle *this_, struct attr *attr, - struct attr **attrs) +vehicle_set_attr(struct vehicle *this_, struct attr *attr) { int ret=1; if (this_->meth.set_attr) - ret=this_->meth.set_attr(this_->priv, attr, attrs); + ret=this_->meth.set_attr(this_->priv, attr); if (ret == 1 && attr->type != attr_navit) this_->attrs=attr_generic_set_attr(this_->attrs, attr); return ret != 0; |