diff options
author | Akira TAGOH <akira@tagoh.org> | 2018-07-25 12:44:38 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2018-07-25 12:44:38 +0900 |
commit | 5b277806df6d8776c68b275c227a82dd8433eeae (patch) | |
tree | 78abe2dc297bd2f16650d5cd89144830fcea683b | |
parent | a1ad5fe2ba3d742f79d601a1149e1456e57ff51e (diff) | |
download | fontconfig-5b277806df6d8776c68b275c227a82dd8433eeae.tar.gz |
Drop the redundant code
"value == FcTypeInteger" won't be true because it was converted to FcTypeDouble earlier
-rw-r--r-- | src/fcxml.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) |