[aseprite] 51/250: Remove unused variables in ColorWheel::pickColor()

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit eae6f7b5c1d5743de8d777673f67b7a4c5e10176
Author: David Capello <davidcapello at gmail.com>
Date:   Thu Sep 17 17:31:58 2015 -0300

    Remove unused variables in ColorWheel::pickColor()
---
 src/app/ui/color_wheel.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/app/ui/color_wheel.cpp b/src/app/ui/color_wheel.cpp
index da05a80..bf6d3c4 100644
--- a/src/app/ui/color_wheel.cpp
+++ b/src/app/ui/color_wheel.cpp
@@ -123,8 +123,6 @@ app::Color ColorWheel::pickColor(const gfx::Point& pos) const
 
     for (int i=0; i<n; ++i) {
       app::Color color = getColorInHarmony(i);
-      int hue = color.getHue()-30;
-      int sat = color.getSaturation();
 
       if (gfx::Rect(rc.x+rc.w-(n-i)*boxsize,
                     rc.y+rc.h-boxsize,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list