fix warning

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

Branch: refs/heads/develop
Commit: 81627427123a3448eea97592eb8b281a55cef004
Parents: 4b6f8a8
Author: Alex Harui <[email protected]>
Authored: Fri Aug 21 10:28:11 2015 -0700
Committer: Alex Harui <[email protected]>
Committed: Fri Aug 21 10:28:11 2015 -0700

----------------------------------------------------------------------
 .../as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/81627427/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
 
b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
index 56e1c08..fd741b4 100644
--- 
a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
+++ 
b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
@@ -92,7 +92,7 @@ package org.apache.flex.html.beads.layouts
                        var maxWidth:Number = 0;
                        // asking for contentView.width can result in infinite 
loop if host isn't sized already
                        var w:Number = hostSizedToContent ? 0 : 
contentView.width;
-            var h = contentView.height;
+            var h:Number = contentView.height;
                        
                        for (var i:int = 0; i < n; i++)
                        {

Reply via email to