Browse Source

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

Simon Krajewski 10 years ago
parent
commit
71840c7730
1 changed files with 1 additions and 1 deletions
  1. 1 1
      analyzer.ml

+ 1 - 1
analyzer.ml

@@ -890,7 +890,7 @@ module Ssa = struct
 						[]
 						[]
 					| e :: el ->
 					| e :: el ->
 						if ctx.cur_data.nd_terminates then begin
 						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
 						end else
 							let e = loop ctx e in
 							let e = loop ctx e in