summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-04-20 04:02:31 +0000
committerTavian Barnes <tavianator@gmail.com>2009-04-20 04:02:31 +0000
commitdd569686fa62d2736f9f5f3586af96b2aac06cd4 (patch)
tree7bb6d4245a7a1e85913dab6974023b42a1220b8c
parentd23c8d6cefea2228ee4d5193a0d25b2cab575353 (diff)
downloaddimension-dd569686fa62d2736f9f5f3586af96b2aac06cd4.tar.xz
Remove unused variables in dmnsn_color_difference.
-rw-r--r--libdimension/color.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdimension/color.c b/libdimension/color.c
index 5a685c1..42ade8b 100644
--- a/libdimension/color.c
+++ b/libdimension/color.c
@@ -277,8 +277,7 @@ dmnsn_color_add(dmnsn_color color1, dmnsn_color color2)
double
dmnsn_color_difference(dmnsn_color color1, dmnsn_color color2)
{
- dmnsn_CIE_Lab Lab, Lab1, Lab2;
- dmnsn_color ret;
+ dmnsn_CIE_Lab Lab1, Lab2;
Lab1 = dmnsn_Lab_from_color(color1, dmnsn_whitepoint);
Lab2 = dmnsn_Lab_from_color(color2, dmnsn_whitepoint);