Clean up unused code
This commit is contained in:
parent
a6a1695722
commit
860b9997ef
|
@ -147,10 +147,6 @@ FcConfigCreate (void)
|
|||
if (!config->configDirs)
|
||||
goto bail1;
|
||||
|
||||
config->configMapDirs = FcStrSetCreate();
|
||||
if (!config->configMapDirs)
|
||||
goto bail1_5;
|
||||
|
||||
config->configFiles = FcStrSetCreate ();
|
||||
if (!config->configFiles)
|
||||
goto bail2;
|
||||
|
@ -230,8 +226,6 @@ bail4:
|
|||
bail3:
|
||||
FcStrSetDestroy (config->configFiles);
|
||||
bail2:
|
||||
FcStrSetDestroy (config->configMapDirs);
|
||||
bail1_5:
|
||||
FcStrSetDestroy (config->configDirs);
|
||||
bail1:
|
||||
free (config);
|
||||
|
@ -370,7 +364,6 @@ FcConfigDestroy (FcConfig *config)
|
|||
(void) fc_atomic_ptr_cmpexch (&_fcConfig, config, NULL);
|
||||
|
||||
FcStrSetDestroy (config->configDirs);
|
||||
FcStrSetDestroy (config->configMapDirs);
|
||||
FcStrSetDestroy (config->fontDirs);
|
||||
FcStrSetDestroy (config->cacheDirs);
|
||||
FcStrSetDestroy (config->configFiles);
|
||||
|
|
|
@ -524,7 +524,6 @@ struct _FcConfig {
|
|||
* and those directives may occur in any order
|
||||
*/
|
||||
FcStrSet *configDirs; /* directories to scan for fonts */
|
||||
FcStrSet *configMapDirs; /* mapped names to generate cache entries */
|
||||
/*
|
||||
* List of directories containing fonts,
|
||||
* built by recursively scanning the set
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
struct _FcConfig {
|
||||
FcStrSet *configDirs; /* directories to scan for fonts */
|
||||
FcStrSet *configMapDirs;
|
||||
FcStrSet *fontDirs;
|
||||
FcStrSet *cacheDirs;
|
||||
FcStrSet *configFiles; /* config files loaded */
|
||||
|
|
Loading…
Reference in New Issue