diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-02-02 20:46:11 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-02-02 20:46:11 +0100 |
| commit | b59afa621a5af35cdd5a07416efa79a230ae096f (patch) | |
| tree | fdb17fc7c33be64760845d8ace849e3659435091 /map.c | |
| parent | bd36b0b4725174db95f7e6081a3cd3a6008f1543 (diff) | |
| download | vis-b59afa621a5af35cdd5a07416efa79a230ae096f.tar.gz vis-b59afa621a5af35cdd5a07416efa79a230ae096f.tar.xz | |
map: remove unused function
Diffstat (limited to 'map.c')
| -rw-r--r-- | map.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -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) { |
