summaryrefslogtreecommitdiff
path: root/fc-scan
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-01-03 20:33:34 -0600
committerBehdad Esfahbod <behdad@behdad.org>2013-01-03 20:34:41 -0600
commit17eda89ed2e24a3fc5f68538dd7fd9ada8efb087 (patch)
tree47f98f4ce40d1154e970fbae827bb3355d731d62 /fc-scan
parent102a4344dd7f668cf03b9665c718505050e0ae78 (diff)
Remove FcInit() calls from tools
Library is supposed to automatically initialize itself. If it doesn't, it's a bug.
Diffstat (limited to 'fc-scan')
-rw-r--r--fc-scan/fc-scan.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fc-scan/fc-scan.c b/fc-scan/fc-scan.c
index c852e0d9..5638b51c 100644
--- a/fc-scan/fc-scan.c
+++ b/fc-scan/fc-scan.c
@@ -126,12 +126,6 @@ main (int argc, char **argv)
if (i == argc)
usage (argv[0], 1);
- if (!FcInit ())
- {
- fprintf (stderr, "Can't init font config library\n");
- return 1;
- }
-
fs = FcFontSetCreate ();
for (; i < argc; i++)