From: Matthew Fernandez Date: Sun, 2 May 2021 02:17:40 +0000 (-0700) Subject: remove unused colorType function X-Git-Tag: 2.47.2~7^2~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b250ab29813a3b2767b6d133b7a864a3856f420c;p=graphviz remove unused colorType function --- diff --git a/lib/xdot/xdot.c b/lib/xdot/xdot.c index 6ad771e1d..9d3fc70ec 100644 --- a/lib/xdot/xdot.c +++ b/lib/xdot/xdot.c @@ -1003,25 +1003,6 @@ int statXDot (xdot* x, xdot_stats* sp) return 0; } -xdot_grad_type -colorType (char* cp) -{ - xdot_grad_type rv; - - switch (*cp) { - case '[' : - rv = xd_linear; - break; - case '(' : - rv = xd_radial; - break; - default : - rv = xd_none; - break; - } - return rv; -} - #define CHK1(s) if(!s){free(stops);return NULL;} /* radGradient: