aboutsummaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'map.c')
-rw-r--r--map.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/map.c b/map.c
index 94e941c..c69bd70 100644
--- a/map.c
+++ b/map.c
@@ -301,19 +301,6 @@ const Map *map_prefix(const Map *map, const char *prefix)
return top;
}
-bool map_prefix_delete(Map *map, const char *prefix)
-{
- bool ret = false;
- do {
- const char *conflict = NULL;
- const Map *conflicts = map_prefix(map, prefix);
- if (!map_first(conflicts, &conflict))
- break;
- ret = map_delete(map, conflict);
- } while (ret);
- return ret;
-}
-
static void clear(Map n)
{
if (!n.v) {