summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otherlibs/labltk/examples_labltk/eyes.ml2
-rw-r--r--otherlibs/labltk/examples_labltk/tetris.ml1
2 files changed, 1 insertions, 2 deletions
diff --git a/otherlibs/labltk/examples_labltk/eyes.ml b/otherlibs/labltk/examples_labltk/eyes.ml
index a96e08260a..74f59f6c0d 100644
--- a/otherlibs/labltk/examples_labltk/eyes.ml
+++ b/otherlibs/labltk/examples_labltk/eyes.ml
@@ -24,7 +24,7 @@ let _ =
pack [fw];
let c = Canvas.create ~width: 200 ~height: 200 fw in
let create_eye cx cy wx wy ewx ewy bnd =
- let o2 = Canvas.create_oval
+ let _o2 = Canvas.create_oval
~x1:(cx - wx) ~y1:(cy - wy)
~x2:(cx + wx) ~y2:(cy + wy)
~outline: `Black ~width: 7
diff --git a/otherlibs/labltk/examples_labltk/tetris.ml b/otherlibs/labltk/examples_labltk/tetris.ml
index 8260fc2059..28544e08df 100644
--- a/otherlibs/labltk/examples_labltk/tetris.ml
+++ b/otherlibs/labltk/examples_labltk/tetris.ml
@@ -268,7 +268,6 @@ let init fw =
let scorev = Textvariable.create ()
and linev = Textvariable.create ()
and levv = Textvariable.create ()
- and namev = Textvariable.create ()
in
let f = Frame.create fw ~borderwidth: 2 in
let c = Canvas.create f ~width: (block_size * 10)