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