From c5b9786df4cd27da84e8a60d979613a92440c872 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 2 Dec 2013 21:06:20 +0100 Subject: [PATCH] color.cpp: use variable br_ Variable 'br_' is assigned a value that is never used --- src/gui/color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/color.cpp b/src/gui/color.cpp index 4a64c54ac..d0f28b7f4 100644 --- a/src/gui/color.cpp +++ b/src/gui/color.cpp @@ -120,7 +120,7 @@ void changeBrightnessRGBRel2(RgbColor *rgb, int br) HsvColor hsv; Rgb2Hsv(rgb, &hsv); - hsv.v = br; + hsv.v = br_; Hsv2Rgb(&hsv, rgb); }