[gimp/metadata-browser] libgimpcolor: Delete unnecessary h initializer
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] libgimpcolor: Delete unnecessary h initializer
- Date: Fri, 2 Dec 2011 02:06:09 +0000 (UTC)
commit cd2824be2a547830033f950c7f3142b98da312c3
Author: Mukund Sivaraman <muks banu com>
Date: Tue Oct 4 14:40:24 2011 +0530
libgimpcolor: Delete unnecessary h initializer
The -Wall warning is taken care of by
commit 890b9abf940345245242c1cadf9cb0ef8a0208a3.
libgimpcolor/gimpcolorspace.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libgimpcolor/gimpcolorspace.c b/libgimpcolor/gimpcolorspace.c
index 1c69d7b..b3d5ee3 100644
--- a/libgimpcolor/gimpcolorspace.c
+++ b/libgimpcolor/gimpcolorspace.c
@@ -972,8 +972,6 @@ gimp_rgb_to_hsv4 (const guchar *rgb,
green = rgb[1] / 255.0;
blue = rgb[2] / 255.0;
- h = 0.0; /* Shut up -Wall */
-
if (red > green)
{
max = MAX (red, blue);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]