diff options
Diffstat (limited to 'bytecomp')
-rw-r--r-- | bytecomp/bytesections.ml | 2 | ||||
-rw-r--r-- | bytecomp/matching.ml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bytecomp/bytesections.ml b/bytecomp/bytesections.ml index 518e2254f..17d57f9ed 100644 --- a/bytecomp/bytesections.ml +++ b/bytecomp/bytesections.ml @@ -52,7 +52,7 @@ let read_toc ic = if header <> Config.exec_magic_number then raise Bad_magic_number; seek_in ic (pos_trailer - 8 * num_sections); section_table := []; - for i = 1 to num_sections do + for _i = 1 to num_sections do let name = Misc.input_bytes ic 4 in let len = input_binary_int ic in section_table := (name, len) :: !section_table diff --git a/bytecomp/matching.ml b/bytecomp/matching.ml index f0b223747..144d01688 100644 --- a/bytecomp/matching.ml +++ b/bytecomp/matching.ml @@ -274,9 +274,9 @@ let ctx_match ctx pss = pss) ctx -type jumps = (int * ctx ) list +type jumps = (int * ctx list) list -let pretty_jumps env = match env with +let pretty_jumps (env : jumps) = match env with | [] -> () | _ -> List.iter |