[gimp/soc-2012-unified-transformation] transformtool: Remove now unused variables
- From: Mikael Magnusson <mikachu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2012-unified-transformation] transformtool: Remove now unused variables
- Date: Mon, 20 Aug 2012 14:58:24 +0000 (UTC)
commit 6af6218c2b600764f91476ea01bdddd9fa1d34c9
Author: Mikael Magnusson <mikachu src gnome org>
Date: Mon Aug 20 16:57:53 2012 +0200
transformtool: Remove now unused variables
app/tools/gimpunifiedtransformtool.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpunifiedtransformtool.c b/app/tools/gimpunifiedtransformtool.c
index 3074028..4f517b8 100644
--- a/app/tools/gimpunifiedtransformtool.c
+++ b/app/tools/gimpunifiedtransformtool.c
@@ -821,7 +821,7 @@ gimp_unified_transform_tool_motion (GimpTransformTool *transform_tool)
function == TRANSFORM_HANDLE_S_S ||
function == TRANSFORM_HANDLE_W_S)
{
- gint this_l, this_r, opp_l, opp_r;
+ gint this_l, this_r;
/* set up indices for this edge and the opposite edge */
if (function == TRANSFORM_HANDLE_N_S) {
@@ -834,9 +834,6 @@ gimp_unified_transform_tool_motion (GimpTransformTool *transform_tool)
this_l = 3; this_r = 1;
} else g_assert_not_reached ();
- opp_l = 3 - this_l;
- opp_r = 3 - this_r;
-
if (options->constrain_shear)
{
/* restrict to movement along the side */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]