aboutsummaryrefslogtreecommitdiffstats
path: root/debug/DebugInit.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2016-03-21 10:18:51 +0100
committerXavier Leroy <xavierleroy@users.noreply.github.com>2016-03-21 10:18:51 +0100
commit20eef936dce1ef98b5b422c90cc9e072fb0d75ab (patch)
tree2690be164dc36fad63fc0f42e943d0fcb0735532 /debug/DebugInit.ml
parentfdf4cac2439a7168bd005efbde4a1f76a00ada66 (diff)
parent01e32a075023ce7b037d42d048b1904ba3d9a82b (diff)
downloadcompcert-20eef936dce1ef98b5b422c90cc9e072fb0d75ab.tar.gz
compcert-20eef936dce1ef98b5b422c90cc9e072fb0d75ab.zip
Merge pull request #92 from AbsInt/cleanup
This PR activates more OCaml warnings and turns all warnings into errors. Also some unused functions, variables and types are removed.
Diffstat (limited to 'debug/DebugInit.ml')
-rw-r--r--debug/DebugInit.ml8
1 files changed, 1 insertions, 7 deletions
diff --git a/debug/DebugInit.ml b/debug/DebugInit.ml
index 17a90536..462ca2d3 100644
--- a/debug/DebugInit.ml
+++ b/debug/DebugInit.ml
@@ -10,12 +10,6 @@
(* *)
(* *********************************************************************)
-open AST
-open BinNums
-open C
-open Camlcoq
-open Dwarfgen
-open DwarfTypes
open Debug
let default_debug =
@@ -28,7 +22,7 @@ let default_debug =
insert_global_declaration = DebugInformation.insert_global_declaration;
add_fun_addr = (fun _ _ _ -> ());
generate_debug_info = (fun _ _ -> None);
- all_files_iter = (fun f -> DebugInformation.StringSet.iter f !DebugInformation.all_files);
+ all_files_iter = DebugInformation.all_files_iter;
insert_local_declaration = DebugInformation.insert_local_declaration;
atom_local_variable = DebugInformation.atom_local_variable;
enter_scope = DebugInformation.enter_scope;