summaryrefslogtreecommitdiff
path: root/gs/base/gxshade6.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2010-04-20 18:52:36 +0000
committerRobin Watts <robin.watts@artifex.com>2010-04-20 18:52:36 +0000
commitaedcf47a54f382c1d510d0c07d644b450bf01ee5 (patch)
tree75f7bba48bd7a1bf222ac00fd56ac4ed58f87159 /gs/base/gxshade6.c
parentad46603e9671086b17eca471557862f8d9082b8c (diff)
A series of tiny changes to various files to stop compiler warnings.
Nothing contentious in here, so I hope component owners don't object. psi/zpdfops.c: Make zpdfinkpath function static. psi/zcie.c: cie_cache_finish1 is an unused function; #if 0 it with a note. psi/zicc.c: Remove 2 unused variables from a function. psi/zcolor.c: Add a 'default' case to a switch to stop a 'variable RGB might be used uninitialised' warning. Remove out of date comment and make zswapcolors static. psi/zfcid1.c: Convert some unused variables to comments. base/gp_unix_cache.c: Make the fact we are ignoring the return value from fread explicit by casting to void. base/gstype42.c: Move an unused var into a #if 0 section, comment out an unused function. base/gstrans.c: Use 'any_abs' rather than 'abs' (to avoid abs being used without definition). base/gxshade6.c: Remove unused function base/gxclfile.c: Make the fact we are ignoring the return value to freopen explicit by casting to void. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11089 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/base/gxshade6.c')
-rw-r--r--gs/base/gxshade6.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gs/base/gxshade6.c b/gs/base/gxshade6.c
index ef242b95f..a9dd85a37 100644
--- a/gs/base/gxshade6.c
+++ b/gs/base/gxshade6.c
@@ -1757,22 +1757,6 @@ split_curve(const gs_fixed_point pole[4], gs_fixed_point q0[4], gs_fixed_point q
split_curve_s(pole, q0, q1, 1);
}
-
-static void
-generate_inner_vertices(gs_fixed_point *p, const gs_fixed_point pole[4], int k)
-{
- /* Recure to get exactly same points as when devided a patch. */
- /* An iteration can't give them preciselly. */
- if (k > 1) {
- gs_fixed_point q[2][4];
-
- split_curve(pole, q[0], q[1]);
- p[k / 2] = q[0][3];
- generate_inner_vertices(p, q[0], k / 2);
- generate_inner_vertices(p + k / 2, q[1], k / 2);
- }
-}
-
static inline void
do_swap_axes(gs_fixed_point *p, int k)
{