lib:ldb: Add FALL_THROUGH statements in ldb_map/ldb_map.c
authorAndreas Schneider <asn@samba.org>
Thu, 27 Jul 2017 13:19:23 +0000 (15:19 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2018 03:37:41 +0000 (04:37 +0100)
lib/ldb/ldb_map/ldb_map.c

index f2a86fedd45e476c5d93afab4d92bd51b88cc4ad..b453dff80d25a19d7627e1e2abeac81b9442527f 100644 (file)
@@ -523,7 +523,8 @@ struct ldb_dn *ldb_dn_map_local(struct ldb_module *module, void *mem_ctx, struct
                                          "used in DN!", ldb_dn_get_component_name(dn, i));
                                goto failed;
                        }
-                       /* fall through */
+
+                       FALL_THROUGH;
                case LDB_MAP_KEEP:
                case LDB_MAP_RENAME:
                case LDB_MAP_RENDROP:
@@ -599,7 +600,8 @@ struct ldb_dn *ldb_dn_map_remote(struct ldb_module *module, void *mem_ctx, struc
                                          "used in DN!", ldb_dn_get_component_name(dn, i));
                                goto failed;
                        }
-                       /* fall through */
+
+                       FALL_THROUGH;
                case LDB_MAP_KEEP:
                case LDB_MAP_RENAME:
                case LDB_MAP_RENDROP: