summaryrefslogtreecommitdiff
path: root/src/main/dither-inks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/dither-inks.c')
-rw-r--r--src/main/dither-inks.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/dither-inks.c b/src/main/dither-inks.c
index 3d47601..722e407 100644
--- a/src/main/dither-inks.c
+++ b/src/main/dither-inks.c
@@ -1,5 +1,5 @@
/*
- * "$Id: dither-inks.c,v 1.27 2010/08/04 00:33:56 rlk Exp $"
+ * "$Id: dither-inks.c,v 1.28 2014/01/04 00:31:37 rlk Exp $"
*
* Print plug-in driver utility functions for the GIMP.
*
@@ -367,9 +367,6 @@ stp_dither_set_inks_full(stp_vars_t *v, int color, int nshades,
{
int i;
int idx;
- stpi_dither_channel_t *dc;
-
- stpi_dither_t *d = (stpi_dither_t *) stp_get_component_data(v, "Dither");
stp_channel_reset_channel(v, color);
@@ -378,7 +375,6 @@ stp_dither_set_inks_full(stp_vars_t *v, int color, int nshades,
int subchannel = nshades - i - 1;
idx = stpi_dither_translate_channel(v, color, subchannel);
STPI_ASSERT(idx >= 0, NULL);
- dc = &(CHANNEL(d, idx));
stp_channel_add(v, color, subchannel, shades[i].value);
if (idx >= 0)