[gimp/metadata-browser] app: Remove dead assignments (and variable)
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: Remove dead assignments (and variable)
- Date: Fri, 2 Dec 2011 02:02:58 +0000 (UTC)
commit 2d9e2169c5140911b0839158aa7db5d428518ea6
Author: Mukund Sivaraman <muks banu com>
Date: Mon Oct 3 13:11:09 2011 +0530
app: Remove dead assignments (and variable)
app/core/gimpimage-convert.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/app/core/gimpimage-convert.c b/app/core/gimpimage-convert.c
index 74faf84..0c06dc1 100644
--- a/app/core/gimpimage-convert.c
+++ b/app/core/gimpimage-convert.c
@@ -1814,7 +1814,7 @@ update_box_rgb (const CFHistogram histogram,
if (dist0 && dist1 && dist2)
{
- axisType longest_ax=AXIS_UNDEF, longest_ax2=AXIS_UNDEF;
+ axisType longest_ax=AXIS_UNDEF;
int longest_length=0, longest_length2=0;
int ratio;
@@ -1827,40 +1827,34 @@ update_box_rgb (const CFHistogram histogram,
if ( dist0 >= longest_length)
{
longest_length2 = longest_length;
- longest_ax2 = longest_ax;
longest_length = dist0;
longest_ax = AXIS_RED;
}
else if ( dist0 >= longest_length2)
{
longest_length2 = dist0;
- longest_ax2 = AXIS_RED;
}
if ( dist1 >= longest_length)
{
longest_length2 = longest_length;
- longest_ax2 = longest_ax;
longest_length = dist1;
longest_ax = AXIS_GREEN;
}
else if ( dist1 >= longest_length2)
{
longest_length2 = dist1;
- longest_ax2 = AXIS_GREEN;
}
if ( dist2 >= longest_length)
{
longest_length2 = longest_length;
- longest_ax2 = longest_ax;
longest_length = dist2;
longest_ax = AXIS_BLUE;
}
else if ( dist2 >= longest_length2)
{
longest_length2 = dist2;
- longest_ax2 = AXIS_BLUE;
}
if (longest_length2 == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]