summaryrefslogtreecommitdiff
path: root/navit/vehicleprofile.c
diff options
context:
space:
mode:
authorjkoan <jkoan@gmx.de>2020-05-21 08:23:18 +0200
committerjkoan <jkoan@users.noreply.github.com>2020-08-08 14:06:43 +0200
commita068b55070c7d0abe5fddf801945dfa5b8974109 (patch)
tree955830615bc8357d65f73e3eae56b9ae4b2eed2a /navit/vehicleprofile.c
parent2f709d905cb60ef1925149bc05cec46c0a597244 (diff)
downloadnavit-a068b55070c7d0abe5fddf801945dfa5b8974109.tar.gz
change:core:Remove unused argument from attr_search
Diffstat (limited to 'navit/vehicleprofile.c')
-rw-r--r--navit/vehicleprofile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/vehicleprofile.c b/navit/vehicleprofile.c
index 905d2defa..493646f94 100644
--- a/navit/vehicleprofile.c
+++ b/navit/vehicleprofile.c
@@ -211,7 +211,7 @@ struct vehicleprofile *
vehicleprofile_new(struct attr *parent, struct attr **attrs) {
struct vehicleprofile *this_;
struct attr **attr, *type_attr;
- if (! (type_attr=attr_search(attrs, NULL, attr_name))) {
+ if (! (type_attr=attr_search(attrs, attr_name))) {
return NULL;
}
this_=g_new0(struct vehicleprofile, 1);