From 5603e06aeba57cb2c7044c9cc6001d0cef5039f4 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Thu, 21 Sep 2017 14:03:51 +0900 Subject: [PATCH] Revert "Keep the same behavior to the return value of FcConfigParseAndLoad" This reverts commit dc56ff80408b16393d645a55788b023f1de27bc9. --- src/fcxml.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/fcxml.c b/src/fcxml.c index 842d609..4b08486 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -3314,10 +3314,7 @@ FcConfigParseAndLoad (FcConfig *config, f = FcConfigFilename (name); if (!f) - { - ret = FcTrue; goto bail0; - } if (sysroot) filename = FcStrBuildFilename (sysroot, f, NULL); else @@ -3348,7 +3345,6 @@ FcConfigParseAndLoad (FcConfig *config, fd = FcOpen ((char *) filename, O_RDONLY); if (fd == -1) { FcStrFree (filename); - ret = FcTrue; goto bail1; }