diff options
author | jkoan <jkoan@gmx.de> | 2020-05-21 08:23:18 +0200 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2020-08-08 14:06:43 +0200 |
commit | a068b55070c7d0abe5fddf801945dfa5b8974109 (patch) | |
tree | 955830615bc8357d65f73e3eae56b9ae4b2eed2a /navit/attr.c | |
parent | 2f709d905cb60ef1925149bc05cec46c0a597244 (diff) | |
download | navit-a068b55070c7d0abe5fddf801945dfa5b8974109.tar.gz |
change:core:Remove unused argument from attr_search
Diffstat (limited to 'navit/attr.c')
-rw-r--r-- | navit/attr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/attr.c b/navit/attr.c index 7eff92fb8..de2a508f0 100644 --- a/navit/attr.c +++ b/navit/attr.c @@ -498,13 +498,12 @@ char *attr_to_text(struct attr *attr, struct map *map, int pretty) { * attribute type and returns the first match. * * @param attrs Points to the array of attribute pointers to be searched - * @param last Not used * @param attr_type The attribute type to search for. Generic types (such as * attr_any or attr_any_xml) are NOT supported. * @return Pointer to the first matching attribute, or NULL if no match was found. */ struct attr * -attr_search(struct attr **attrs, struct attr *last, enum attr_type attr) { +attr_search(struct attr **attrs, enum attr_type attr) { dbg(lvl_info, "enter attrs=%p", attrs); while (*attrs) { dbg(lvl_debug,"*attrs=%p", *attrs); |