Explorar o código

disable Unreachable code warning so Nicolas has to suffer less (closes #3600)

Simon Krajewski %!s(int64=10) %!d(string=hai) anos
pai
achega
71840c7730
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      analyzer.ml

+ 1 - 1
analyzer.ml

@@ -890,7 +890,7 @@ module Ssa = struct
 						[]
 					| e :: el ->
 						if ctx.cur_data.nd_terminates then begin
-							ctx.com.warning (Printf.sprintf "Unreachable code: %s" (s_expr_pretty e)) e.epos;
+							(* ctx.com.warning (Printf.sprintf "Unreachable code: %s" (s_expr_pretty e)) e.epos; *)
 							[]
 						end else
 							let e = loop ctx e in