bugfixes.
[swftools.git] / lib / modules / swfaction.c
index 135d026..b671fff 100644 (file)
@@ -129,8 +129,8 @@ r: register (byte)
 {5,"Less2", 0x48,""},
 {6,"Greater", 0x67,""},
 {6,"StringGreater", 0x68,""},
-{6,"Enumerate2", 0x55,""}
-{6,"InstanceOf", 0x54,""}
+{6,"Enumerate2", 0x55,""},
+{6,"InstanceOf", 0x54,""},
 {6,"StrictEquals", 0x66,""}
 };
 static int definedactions = sizeof(actions)/sizeof(struct Action);
@@ -625,7 +625,7 @@ void swf_ActionEnd(ActionTAG* atag)
 
 static ActionTAG*lastATAG(ActionTAG*atag)
 {
-    ActionTAG*last;
+    ActionTAG*last = 0;
     while(atag) {
        last = atag;
        atag=atag->next;