浏览代码

fixed warning

Nicolas Cannasse 9 年之前
父节点
当前提交
79c48af8c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      analyzer.ml

+ 1 - 1
analyzer.ml

@@ -2013,7 +2013,7 @@ module CopyPropagation = DataFlow(struct
 	let commit ctx =
 		(* We don't care about the scope on JS and AS3 because they hoist var declarations. *)
 		let in_scope bb bb' = match ctx.com.platform with
-			| Js _ -> true
+			| Js -> true
 			| Flash when Common.defined ctx.com Define.As3 -> true
 			| _ -> List.mem (List.hd bb'.bb_scopes) bb.bb_scopes
  		in