URL:
https://svn.lrde.epita.fr/svn/oln/trunk/milena
ChangeLog:
2007-10-26 Matthieu Garrigues <garrigues(a)lrde.epita.fr>
Fix warnings in some tests.
* tests/border_resize_sub_image.cc,
* tests/branch_iter.cc: Fix.
---
border_resize_sub_image.cc | 2 +-
branch_iter.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: trunk/milena/tests/border_resize_sub_image.cc
===================================================================
--- trunk/milena/tests/border_resize_sub_image.cc (revision 1395)
+++ trunk/milena/tests/border_resize_sub_image.cc (revision 1396)
@@ -60,7 +60,7 @@
typedef image2d<int> I;
unsigned border = 42;
- unsigned new_border = 51;
+ //unsigned new_border = 51;
box2d b(literal::origin, point2d(1,1));
I ima(3,3, border);
Index: trunk/milena/tests/branch_iter.cc
===================================================================
--- trunk/milena/tests/branch_iter.cc (revision 1395)
+++ trunk/milena/tests/branch_iter.cc (revision 1396)
@@ -47,7 +47,7 @@
util::node<int>* f = n.add_child(42);
util::node<int>* g = f->add_child(421);
- util::node<int>* h = f->add_child(422);
+ f->add_child(422);
g->add_child(4211)->add_child(51)->add_child(52)->add_child(53)->add_child(54)->add_child(55);
g->add_child(4212);