Remove dead code

Summary: Remove some dead code that snuck into InferPrint.

Reviewed By: sblackshear

Differential Revision: D3466669

fbshipit-source-id: bf8ce58
master
Josh Berdine 9 years ago committed by Facebook Github Bot 9
parent 9bada2f929
commit a5791d7f43

@ -23,10 +23,6 @@ let handle_source_file_copy_option () = match !source_file_copy with
F.fprintf F.std_formatter "%s@." (DB.filename_to_string source_in_resdir); F.fprintf F.std_formatter "%s@." (DB.filename_to_string source_in_resdir);
exit 0 exit 0
let canonic_path_from_string s =
if s = Filename.dir_sep then s
else Filename.concat (Filename.dirname s) (Filename.basename s) ^ Filename.dir_sep
let print_usage_exit err_s = let print_usage_exit err_s =
L.err "Load Error: %s@.@." err_s; L.err "Load Error: %s@.@." err_s;
Config.print_usage_exit () Config.print_usage_exit ()
@ -297,7 +293,6 @@ end
module BugsCsv = struct module BugsCsv = struct
let csv_bugs_id = ref 0 let csv_bugs_id = ref 0
let timestamp = Unix.time ()
let pp_header fmt () = let pp_header fmt () =
Format.fprintf fmt "%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s@\n" Format.fprintf fmt "%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s@\n"
Io_infer.Xml.tag_class Io_infer.Xml.tag_class

Loading…
Cancel
Save