summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/examples_camltk
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/examples_camltk')
-rw-r--r--otherlibs/labltk/examples_camltk/eyes.ml2
-rw-r--r--otherlibs/labltk/examples_camltk/tetris.ml1
2 files changed, 1 insertions, 2 deletions
diff --git a/otherlibs/labltk/examples_camltk/eyes.ml b/otherlibs/labltk/examples_camltk/eyes.ml
index b5195307c..c93146231 100644
--- a/otherlibs/labltk/examples_camltk/eyes.ml
+++ b/otherlibs/labltk/examples_camltk/eyes.ml
@@ -25,7 +25,7 @@ let _ =
pack [fw] [];
let c = Canvas.create fw [Width (Pixels 200); Height (Pixels 200)] in
let create_eye cx cy wx wy ewx ewy bnd =
- let o2 =
+ let _o2 =
Canvas.create_oval c
(Pixels (cx - wx)) (Pixels (cy - wy))
(Pixels (cx + wx)) (Pixels (cy + wy))
diff --git a/otherlibs/labltk/examples_camltk/tetris.ml b/otherlibs/labltk/examples_camltk/tetris.ml
index e8bb69e47..835343475 100644
--- a/otherlibs/labltk/examples_camltk/tetris.ml
+++ b/otherlibs/labltk/examples_camltk/tetris.ml
@@ -215,7 +215,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 (Pixels 2)] in
let c = Canvas.create f [Width (Pixels (block_size * 10));