From 7f559246494c20d06857029ac3135d09632c97c7 Mon Sep 17 00:00:00 2001 From: Albert S Date: Fri, 28 Jul 2017 09:01:53 +0200 Subject: [PATCH] remove obsolete unused counter --- adhocify.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/adhocify.c b/adhocify.c index b726042..a1f82eb 100644 --- a/adhocify.c +++ b/adhocify.c @@ -46,7 +46,6 @@ struct watchlistentry struct watchlistentry *next; }; -size_t watchlistentries = 0; struct watchlistentry *watchlist_head = NULL; struct watchlistentry **watchlist = &watchlist_head; @@ -210,7 +209,6 @@ void watchqueue_add_path(const char *pathname) e->isdir = path_is_directory(pathname); e->next = NULL; watchlist= &e->next; - ++watchlistentries; }