diff options
| author | jkoan <jkoan@gmx.de> | 2020-05-21 08:23:18 +0200 |
|---|---|---|
| committer | Viktor Verebelyi <vviktor2@gmail.com> | 2020-09-22 02:16:20 +0100 |
| commit | d23d64eba0b07f060c97cbecbe52aea3c4ac33b9 (patch) | |
| tree | edbc846b5222936e26c60385a28524046b47efb6 /navit/plugin.c | |
| parent | bc17cf7d781a0b166a183011ac436d312a85ad50 (diff) | |
| download | navit-d23d64eba0b07f060c97cbecbe52aea3c4ac33b9.tar.gz | |
change:core:Remove unused argument from attr_search
Diffstat (limited to 'navit/plugin.c')
| -rw-r--r-- | navit/plugin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/plugin.c b/navit/plugin.c index 259d8e7e6..499f7d124 100644 --- a/navit/plugin.c +++ b/navit/plugin.c @@ -243,17 +243,17 @@ plugin_new(struct attr *parent, struct attr **attrs) { if (parent) pls=parent->u.plugins; - if (! (path_attr=attr_search(attrs, NULL, attr_path))) { + if (! (path_attr=attr_search(attrs, attr_path))) { dbg(lvl_error,"missing path"); return NULL; } - if ( (attr=attr_search(attrs, NULL, attr_active))) { + if ( (attr=attr_search(attrs, attr_active))) { active=attr->u.num; } - if ( (attr=attr_search(attrs, NULL, attr_lazy))) { + if ( (attr=attr_search(attrs, attr_lazy))) { lazy=attr->u.num; } - if ( (attr=attr_search(attrs, NULL, attr_ondemand))) { + if ( (attr=attr_search(attrs, attr_ondemand))) { ondemand=attr->u.num; } dbg(lvl_debug, "path=\"%s\", active=%d, lazy=%d, ondemand=%d",path_attr->u.str, active, lazy, ondemand); |
