FLEX-34854 FLEX-34852 Removing unused variables. NOTE: this mirrors commit 5a27cc8044e4e7a8e22cb2c75037bb9356d6d128.
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/e2df7a7b Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/e2df7a7b Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/e2df7a7b Branch: refs/heads/develop Commit: e2df7a7bf18d67bb44d4af789b10a5af147a462d Parents: 697ce52 Author: Mihai Chira <[email protected]> Authored: Sun Jun 21 20:31:45 2015 +0100 Committer: Mihai Chira <[email protected]> Committed: Sun Jun 21 20:31:45 2015 +0100 ---------------------------------------------------------------------- frameworks/projects/spark/src/spark/collections/Sort.as | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e2df7a7b/frameworks/projects/spark/src/spark/collections/Sort.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/spark/src/spark/collections/Sort.as b/frameworks/projects/spark/src/spark/collections/Sort.as index 3a34be2..8e9a8d5 100644 --- a/frameworks/projects/spark/src/spark/collections/Sort.as +++ b/frameworks/projects/spark/src/spark/collections/Sort.as @@ -801,7 +801,6 @@ public class Sort extends AdvancedStyleClient implements ISort } else { - var fields:Array = this.fields; if (fields && fields.length > 0) { //doing the init value each time may be a little inefficient @@ -813,7 +812,7 @@ public class Sort extends AdvancedStyleClient implements ISort //if the Sort is supposed to be unique and fields.length > 1 //we cannot use sortOn since it only tests uniqueness //on the first field - var sortArgs:Object = initSortFields(items[0], true); + initSortFields(items[0], true); if (unique) {
