summaryrefslogtreecommitdiff
path: root/fc-match
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-match
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-match')
-rw-r--r--fc-match/fc-match.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fc-match/fc-match.c b/fc-match/fc-match.c
index 8ae8ee9c..260f4043 100644
--- a/fc-match/fc-match.c
+++ b/fc-match/fc-match.c
@@ -143,11 +143,6 @@ main (int argc, char **argv)
i = 1;
#endif
- if (!FcInit ())
- {
- fprintf (stderr, "Can't init font config library\n");
- return 1;
- }
if (argv[i])
{
pat = FcNameParse ((FcChar8 *) argv[i]);