summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Herlant <aerostitch@debian.org>2019-09-26 13:01:46 -0700
committerJoseph Herlant <aerostitch@debian.org>2019-09-26 13:01:46 -0700
commitf34edb94603b552b4b5cc95897f8fb3a72a70d8a (patch)
tree7f3ef6b2cdd337a68a9b34db650b2b8a8d44fb79
parent68a78f692ebcd19b5b2ca2100e221eb8987bc71a (diff)
downloadnavit-f34edb94603b552b4b5cc95897f8fb3a72a70d8a.tar.gz
Revert "Remove fallthrough for readability"
This reverts commit 68a78f692ebcd19b5b2ca2100e221eb8987bc71a.
-rw-r--r--navit/search.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/navit/search.c b/navit/search.c
index 427891234..06afcbfe6 100644
--- a/navit/search.c
+++ b/navit/search.c
@@ -112,23 +112,15 @@ 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: