---
milena/ChangeLog | 4 ++++
milena/tests/trait/op/plus.cc | 6 ++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index bba5d19..3170851 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,9 @@
2013-03-18 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * tests/trait/op/plus.cc: Kill warnings.
+
+2013-03-18 Guillaume Lazzara <z(a)lrde.epita.fr>
+
* mln/io/magick/internal/init_magick.hh: Add a missing inline.
2013-03-18 Guillaume Lazzara <z(a)lrde.epita.fr>
diff --git a/milena/tests/trait/op/plus.cc b/milena/tests/trait/op/plus.cc
index 6639a43..01c6eb3 100644
--- a/milena/tests/trait/op/plus.cc
+++ b/milena/tests/trait/op/plus.cc
@@ -102,12 +102,12 @@ namespace mln
template <typename T, typename U>
struct set_precise_binary_< op::plus, my_image2d<T>, my_image2d<U>
>
{
- typedef mln_trait_op_plus(T, U) V;
+ typedef mln_trait_op_plus(T, U) V;
typedef my_image2d<V>& ret;
};
}
-
+
}
int main()
@@ -116,11 +116,13 @@ int main()
{
mln_trait_op_plus_(int, float) tmp;
tmp = 5.1f;
+ (void) tmp;
}
{
my_image2d<float> ima;
my_image2d<float>* ptr = &ima;
mln_trait_op_plus_(my_image2d<int>, my_image2d<float>) tmp = *ptr;
tmp.m();
+ (void) tmp;
}
}
--
1.7.2.5
Show replies by date