summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2017-09-21 14:03:51 +0900
committerAkira TAGOH <akira@tagoh.org>2017-09-21 16:57:42 +0900
commit918ed92226857ce0eeae0146803e96b24b4efb68 (patch)
treed8575ba27e74d97f7e2c704b29cdc2fea0d6f1de
parent3b69b7ad92d26b59441814afb82b54905442ff16 (diff)
downloadfontconfig-918ed92226857ce0eeae0146803e96b24b4efb68.tar.gz
Revert "Keep the same behavior to the return value of FcConfigParseAndLoad"
This reverts commit dc56ff80408b16393d645a55788b023f1de27bc9.
-rw-r--r--src/fcxml.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fcxml.c b/src/fcxml.c
index 9a061c8..3c18ced 100644
--- a/src/fcxml.c
+++ b/src/fcxml.c
@@ -3368,10 +3368,7 @@ FcConfigParseAndLoad (FcConfig *config,
f = FcConfigFilename (name);
if (!f)
- {
- ret = FcTrue;
goto bail0;
- }
if (sysroot)
filename = FcStrBuildFilename (sysroot, f, NULL);
else
@@ -3402,7 +3399,6 @@ FcConfigParseAndLoad (FcConfig *config,
fd = FcOpen ((char *) filename, O_RDONLY);
if (fd == -1) {
FcStrFree (filename);
- ret = FcTrue;
goto bail1;
}