[gs-commits] ghostpdl branch, master, updated. ghostpdl-9.02-546-g8005a68
Robin Watts
robin at ghostscript.com
Thu Aug 25 15:10:23 UTC 2011
The ghostpdl branch, master has been updated
via 8005a687146fd19ca5e6a80cfc2f20b9fd675e41 (commit)
from 8cbd67605010b927192acb590b9a1fd8bf45a2a3 (commit)
----------------------------------------------------------------------
commit 8005a687146fd19ca5e6a80cfc2f20b9fd675e41
Author: Robin Watts <Robin.Watts at artifex.com>
Date: Fri Aug 5 20:49:57 2011 +0100
Remove unused variable in shading code.
km is never used, so remove it. No cluster differences expected.
diff --git a/gs/base/gxshade6.c b/gs/base/gxshade6.c
index 16342df..c3aa272 100644
--- a/gs/base/gxshade6.c
+++ b/gs/base/gxshade6.c
@@ -4246,7 +4246,7 @@ patch_fill(patch_fill_state_t *pfs, const patch_curve_t curve[4],
{
tensor_patch p;
patch_color_t *c[4];
- int kv[4], kvm, ku[4], kum, km;
+ int kv[4], kvm, ku[4], kum;
int code = 0;
byte *color_stack_ptr = reserve_colors_inline(pfs, c, 4); /* Can't fail */
@@ -4323,7 +4323,6 @@ patch_fill(patch_fill_state_t *pfs, const patch_curve_t curve[4],
ku[2] = curve_samples(pfs, p.pole[2], 1, pfs->fixed_flat);
ku[3] = curve_samples(pfs, p.pole[3], 1, pfs->fixed_flat);
kum = max(max(ku[0], ku[1]), max(ku[2], ku[3]));
- //km = max(kvm, kum);
# if NOFILL_TEST
dbg_nofill = false;
# endif
Summary of changes:
gs/base/gxshade6.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
More information about the gs-commits
mailing list