Skip to content

Commit d89ffe1

Browse files
committed
fix missing type on var scripts = null, and clean up some related unused variables
1 parent 12b8b4d commit d89ffe1

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/swf/exporters/AnimateLibraryExporter.hx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -815,9 +815,6 @@ class AnimateLibraryExporter
815815
symbol.scale9Grid = serializeRect(scalingGrid.splitter.rect);
816816
}
817817

818-
var scripts = null;
819-
var found = false;
820-
821818
var swfSymbol = symbolsByTagID.get(symbol.id);
822819
if (swfSymbol != null)
823820
{

src/swf/exporters/FrameScriptParser.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class FrameScriptParser
6060
{
6161
cls = swfData.abcData.findClassByName(className);
6262
}
63-
var scripts = null;
63+
var scripts:Array<String> = null;
6464

6565
if (cls != null && cls.fields != null && cls.fields.length > 0)
6666
{

src/swf/exporters/SWFLiteExporter.hx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,6 @@ class SWFLiteExporter
653653
symbol.scale9Grid = scalingGrid.splitter.rect;
654654
}
655655

656-
var scripts = null;
657656
var swfSymbol = symbolsByTagID.get(symbol.id);
658657
if (swfSymbol != null)
659658
{

0 commit comments

Comments
 (0)