From 5b277806df6d8776c68b275c227a82dd8433eeae Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Wed, 25 Jul 2018 12:44:38 +0900 Subject: [PATCH] Drop the redundant code "value == FcTypeInteger" won't be true because it was converted to FcTypeDouble earlier --- src/fcxml.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fcxml.c b/src/fcxml.c index d27727f..94f5d63 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -649,7 +649,6 @@ FcTypecheckValue (FcConfigParse *parse, FcType value, FcType type) { if ((value == FcTypeLangSet && type == FcTypeString) || (value == FcTypeString && type == FcTypeLangSet) || - (value == FcTypeInteger && type == FcTypeRange) || (value == FcTypeDouble && type == FcTypeRange)) return; if (type == FcTypeUnknown)