diff options
-rw-r--r-- | src/fcdir.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/fcdir.c b/src/fcdir.c index 93f220c..bfcdf95 100644 --- a/src/fcdir.c +++ b/src/fcdir.c @@ -421,13 +421,6 @@ FcDirCacheRead (const FcChar8 *dir, FcBool force, FcConfig *config) /* Not using existing cache file, construct new cache */ if (!cache) cache = FcDirCacheScan (dir, config); - if (cache) - { - FcFontSet *fs = FcCacheSet (cache); - - if (cache->dirs_count == 0 && (!fs || fs->nfont == 0)) - FcDirCacheDeleteUUID (dir, config); - } return cache; } |