aboutsummaryrefslogtreecommitdiff
path: root/plugins/cc
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-11-27 15:10:27 +0100
committerEmilio Jesus Gallego Arias2018-11-27 15:10:27 +0100
commit39bf8df76fc1093f3efa672284421c884319c89d (patch)
tree01500fc77fb130296ad52aaf8aede0872da923c0 /plugins/cc
parent0a699c7c932352f38c14f1bdf33ee7955241c1d8 (diff)
parent74038abdd41161a4c4b1eba5dbbd83f5c0301bf3 (diff)
Merge PR #9046: Goptions.declare_* functions return unit instead of a write_function
Diffstat (limited to 'plugins/cc')
-rw-r--r--plugins/cc/ccalgo.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/cc/ccalgo.ml b/plugins/cc/ccalgo.ml
index a6f432b5bd..575d964158 100644
--- a/plugins/cc/ccalgo.ml
+++ b/plugins/cc/ccalgo.ml
@@ -33,7 +33,7 @@ let print_constr t =
let debug x =
if !cc_verbose then Feedback.msg_debug (x ())
-let _=
+let () =
let gdopt=
{ optdepr=false;
optname="Congruence Verbose";
@@ -61,7 +61,7 @@ module ST=struct
type t = {toterm: int IntPairTable.t;
tosign: (int * int) IntTable.t}
- let empty ()=
+ let empty () =
{toterm=IntPairTable.create init_size;
tosign=IntTable.create init_size}
@@ -321,7 +321,7 @@ let compress_path uf i j = uf.map.(j).cpath<-i
let rec find_aux uf visited i=
let j = uf.map.(i).cpath in
- if j<0 then let _ = List.iter (compress_path uf i) visited in i else
+ if j<0 then let () = List.iter (compress_path uf i) visited in i else
find_aux uf (i::visited) j
let find uf i= find_aux uf [] i