* mln/io/vtk/save.hh,
* tools/connectivity_numbers_3d_tbb.hh,
* tools/simple_point3d_lut_tbb.hh:
Here.
---
milena/ChangeLog | 9 +++++++++
milena/mln/io/vtk/save.hh | 2 +-
milena/tools/connectivity_numbers_3d_tbb.hh | 6 +-----
milena/tools/simple_point3d_lut_tbb.hh | 6 +-----
4 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index e43f313..48d5c46 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,14 @@
2013-08-29 Roland Levillain <roland(a)lrde.epita.fr>
+ Kill warnings about unused variables.
+
+ * mln/io/vtk/save.hh,
+ * tools/connectivity_numbers_3d_tbb.hh,
+ * tools/simple_point3d_lut_tbb.hh:
+ Here.
+
+2013-08-29 Roland Levillain <roland(a)lrde.epita.fr>
+
Kill warnings about signed vs unsigned values.
* mln/topo/is_not_1d_isthmus.hh
diff --git a/milena/mln/io/vtk/save.hh b/milena/mln/io/vtk/save.hh
index e8c8e09..0971f2d 100644
--- a/milena/mln/io/vtk/save.hh
+++ b/milena/mln/io/vtk/save.hh
@@ -231,7 +231,7 @@ namespace mln
// Concept checking.
void (E::*m1)(std::ostream&, const I&) const =
&E::write_face_data;
- m1 = 0;
+ (void) m1;
}
diff --git a/milena/tools/connectivity_numbers_3d_tbb.hh
b/milena/tools/connectivity_numbers_3d_tbb.hh
index edea434..514bb6d 100644
--- a/milena/tools/connectivity_numbers_3d_tbb.hh
+++ b/milena/tools/connectivity_numbers_3d_tbb.hh
@@ -1,4 +1,4 @@
-// Copyright (C) 2011 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -63,10 +63,6 @@ struct connectivity_numbers_3d_tbb_range
I ima(b, 0);
P p(0, 0, 0);
- const unsigned dim = 3;
- const unsigned max_nneighbs = mlc_pow_int(3, dim) - 1;
- const unsigned nconfigs = mlc_pow_int(2, max_nneighbs);
-
for (config_3d_t i = r.begin(); i != r.end(); ++i)
{
/* Create the local i-th configuration around P.
diff --git a/milena/tools/simple_point3d_lut_tbb.hh
b/milena/tools/simple_point3d_lut_tbb.hh
index b8c0a15..670394f 100644
--- a/milena/tools/simple_point3d_lut_tbb.hh
+++ b/milena/tools/simple_point3d_lut_tbb.hh
@@ -1,4 +1,4 @@
-// Copyright (C) 2011 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -67,10 +67,6 @@ struct simple_point3d_lut_tbb_range
I bg_ima(b, 0);
P p(0, 0, 0);
- const unsigned dim = 3;
- const unsigned max_nneighbs = mlc_pow_int(3, dim) - 1;
- const unsigned nconfigs = mlc_pow_int(2, max_nneighbs);
-
for (config_3d_t i = r.begin(); i != r.end(); ++i)
{
/* Create the local i-th configuration around P.
--
1.7.10.4
Show replies by date