Drop the redundant code

"value == FcTypeInteger" won't be true because it was converted to FcTypeDouble earlier
This commit is contained in:
Akira TAGOH 2018-07-25 12:44:38 +09:00
parent a1ad5fe2ba
commit 5b277806df
1 changed files with 0 additions and 1 deletions

View File

@ -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)