Commit 97d54185 authored by Ben Wagner's avatar Ben Wagner Committed by Akira TAGOH
Browse files

Remove abort from FcCompareSize.

There doesn't appear to be a good reason to abort when 'v1' has type
FcTypeRange. If there does turn out to be a good reason for this then it
should be better documented and the code for handling this case removed.
At worst it seems -1 should be returned as it is for other unknown
types. It is possible this is left over debug code from the initial
implementation.
parent 3d692638
Pipeline #240180 passed with stage
in 6 minutes and 36 seconds
......@@ -235,7 +235,6 @@ FcCompareSize (const FcValue *v1, const FcValue *v2, FcValue *bestValue)
b1 = e1 = value1.u.d;
break;
case FcTypeRange:
abort();
b1 = value1.u.r->begin;
e1 = value1.u.r->end;
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment