Drop the redundant code
"value == FcTypeInteger" won't be true because it was converted to FcTypeDouble earlier
This commit is contained in:
parent
a1ad5fe2ba
commit
5b277806df
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue