summaryrefslogtreecommitdiff
path: root/fc-query
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-query
parent102a4344dd7f668cf03b9665c718505050e0ae78 (diff)
downloadfontconfig-17eda89ed2e24a3fc5f68538dd7fd9ada8efb087.tar.gz
Remove FcInit() calls from tools
Library is supposed to automatically initialize itself. If it doesn't, it's a bug.
Diffstat (limited to 'fc-query')
-rw-r--r--fc-query/fc-query.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fc-query/fc-query.c b/fc-query/fc-query.c
index 50bef40..883e303 100644
--- a/fc-query/fc-query.c
+++ b/fc-query/fc-query.c
@@ -136,12 +136,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;
- }
-
for (; i < argc; i++)
{
int index;