Selaa lähdekoodia

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

Simon Krajewski 10 vuotta sitten
vanhempi
commit
71840c7730
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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