diff --git a/src/filescanner.c b/src/filescanner.c index 3c39246d..fc05f58e 100644 --- a/src/filescanner.c +++ b/src/filescanner.c @@ -532,7 +532,6 @@ static void process_directory(char *path, int flags) { struct stacked_dir *bulkstack; - cfg_t *lib; DIR *dirp; struct dirent buf; struct dirent *de; @@ -546,8 +545,6 @@ process_directory(char *path, int flags) int compilation; int ret; - lib = cfg_getsec(cfg, "library"); - if (flags & F_SCAN_BULK) { /* Save our directory stack so it won't get handled inside