浏览代码

disable unreachable code warnings by default (closes #4782)

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

+ 1 - 1
analyzer.ml

@@ -236,7 +236,7 @@ module Config = struct
 			local_dce = not (Common.raw_defined com "analyzer-no-local-dce");
 			fusion = not (Common.raw_defined com "analyzer-no-fusion") && (match com.platform with Flash | Java -> false | _ -> true);
 			purity_inference = not (Common.raw_defined com "analyzer-no-purity-inference");
-			unreachable_code = not (Common.raw_defined com "analyzer-no-unreachable-code");
+			unreachable_code = (Common.raw_defined com "analyzer-unreachable-code");
 			dot_debug = false;
 		}