diff options
author | Joseph Herlant <aerostitch@debian.org> | 2019-09-26 09:15:51 -0700 |
---|---|---|
committer | Joseph Herlant <aerostitch@debian.org> | 2019-09-26 09:15:51 -0700 |
commit | 68a78f692ebcd19b5b2ca2100e221eb8987bc71a (patch) | |
tree | c3c929f9e8f8111a75f2466232ff71e6ace49a4c | |
parent | 9e17cebb8de04179f701332ac246078f08252bf3 (diff) | |
download | navit-68a78f692ebcd19b5b2ca2100e221eb8987bc71a.tar.gz |
Remove fallthrough for readability
-rw-r--r-- | navit/search.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/navit/search.c b/navit/search.c index 06afcbfe6..427891234 100644 --- a/navit/search.c +++ b/navit/search.c @@ -112,15 +112,23 @@ static void search_list_search_free(struct search_list *sl, int level); int search_list_level(enum attr_type attr_type) { switch(attr_type) { case attr_country_all: + return 0; case attr_country_id: + return 0; case attr_country_iso2: + return 0; case attr_country_iso3: + return 0; case attr_country_car: + return 0; case attr_country_name: return 0; case attr_town_postal: + return 1; case attr_town_name: + return 1; case attr_district_name: + return 1; case attr_town_or_district_name: return 1; case attr_street_name: |