FLEX-34852
Removing unused local variables.

Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/5a27cc80
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/5a27cc80
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/5a27cc80

Branch: refs/heads/develop
Commit: 5a27cc8044e4e7a8e22cb2c75037bb9356d6d128
Parents: fe87d2f
Author: Mihai Chira <[email protected]>
Authored: Sun Jun 7 13:13:41 2015 +0200
Committer: Mihai Chira <[email protected]>
Committed: Sun Jun 7 13:13:41 2015 +0200

----------------------------------------------------------------------
 frameworks/projects/framework/src/mx/collections/Sort.as | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5a27cc80/frameworks/projects/framework/src/mx/collections/Sort.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/collections/Sort.as 
b/frameworks/projects/framework/src/mx/collections/Sort.as
index a1c7333..db0f704 100644
--- a/frameworks/projects/framework/src/mx/collections/Sort.as
+++ b/frameworks/projects/framework/src/mx/collections/Sort.as
@@ -244,8 +244,8 @@ public class Sort extends EventDispatcher implements ISort
      */
     public function set compareFunction(value:Function):void
     {
-        _compareFunction = value;
-        usingCustomCompareFunction = _compareFunction != null;
+            _compareFunction = value;
+            usingCustomCompareFunction = _compareFunction != null;
     }
 
     //----------------------------------
@@ -334,7 +334,7 @@ public class Sort extends EventDispatcher implements ISort
      */
     public function set unique(value:Boolean):void
     {
-        _unique = value;
+            _unique = value;
     }
 
     
//--------------------------------------------------------------------------
@@ -650,10 +650,8 @@ public class Sort extends EventDispatcher implements ISort
         }
         else
         {
-            var fields:Array = this.fields;
             if (fields && fields.length > 0)
             {
-                var i:int;
                 //doing the init value each time may be a little inefficient
                 //but allows for the data to change and the comparators
                 //to update correctly

Reply via email to