lib:ldb: Add FALL_THROUGH statements in ldb_map/ldb_map_inbound.c
authorAndreas Schneider <asn@samba.org>
Thu, 27 Jul 2017 13:18:28 +0000 (15:18 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2018 03:37:41 +0000 (04:37 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_map/ldb_map_inbound.c

index 461e68113ab20a9b0ee73ee0158abb45577111ad..861c4c1622d58e3e98e3df282c0c8996af8eef33 100644 (file)
@@ -87,7 +87,8 @@ static int ldb_msg_el_partition(struct ldb_module *module, enum ldb_request_type
                        el = ldb_msg_el_map_local(module, remote, map, old);
                        break;
                }
-               /* fall through */
+
+               FALL_THROUGH;
        case LDB_MAP_IGNORE:
                goto local;
 
@@ -99,7 +100,8 @@ static int ldb_msg_el_partition(struct ldb_module *module, enum ldb_request_type
                                  map->local_name);
                        goto local;
                }
-               /* fall through */
+
+               FALL_THROUGH;
        case LDB_MAP_KEEP:
        case LDB_MAP_RENAME:
                el = ldb_msg_el_map_local(module, remote, map, old);