diff options
Diffstat (limited to '')
-rw-r--r-- | src/dirvec.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/dirvec.c b/src/dirvec.c index cb695ac5d..f845c9973 100644 --- a/src/dirvec.c +++ b/src/dirvec.c @@ -74,17 +74,6 @@ void dirvec_add(struct dirvec *dv, struct directory *add) pthread_mutex_unlock(&nr_lock); } -void dirvec_destroy(struct dirvec *dv) -{ - pthread_mutex_lock(&nr_lock); - dv->nr = 0; - pthread_mutex_unlock(&nr_lock); - if (dv->base) { - free(dv->base); - dv->base = NULL; - } -} - int dirvec_for_each(const struct dirvec *dv, int (*fn)(struct directory *, void *), void *arg) { |