Browse Source

ensure a final return in some cases that causes a VerifyError (fixed issue #1910)

Nicolas Cannasse 12 years ago
parent
commit
cc7e5a2b46
1 changed files with 0 additions and 1 deletions
  1. 0 1
      genswf9.ml

+ 0 - 1
genswf9.ml

@@ -1713,7 +1713,6 @@ and generate_function ctx fdata stat =
 				in
 				inner_loop e
 			| TIf (_,e1,Some e2) -> loop e1 && loop e2
-			| TSwitch (_,_,Some e) -> loop e
 			| TParenthesis e | TMeta(_,e) -> loop e
 			| _ -> false
 		in