* scribo/binarization/internal/local_threshold_core.hh
(scribo::binarization::internal::impl::generic::local_threshold_core)
* scribo/core/internal/doc_serializer.hh
(scribo::doc_serializer<E>::visit)
* scribo/filter/internal/component_aligned.hh
(scribo::filter::internal::component_aligned)
* scribo/filter/internal/compute.hh
(scribo::filter::internal::compute)
* scribo/primitive/link/internal/link_functor_base.hh
(internal::link_functor_base<L,E>::start_processing_object_)
* scribo/util/init_integral_image.hh
(scribo::util::impl::generic::init_integral_image):
Here.
---
scribo/ChangeLog | 18 ++++++++++++++++++
.../binarization/internal/local_threshold_core.hh | 3 ++-
scribo/scribo/core/internal/doc_serializer.hh | 18 +++++++++---------
scribo/scribo/filter/internal/component_aligned.hh | 4 ++--
scribo/scribo/filter/internal/compute.hh | 4 ++--
.../primitive/link/internal/link_functor_base.hh | 4 ++--
scribo/scribo/util/init_integral_image.hh | 5 +++--
7 files changed, 38 insertions(+), 18 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 6330a23..b2860f1 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,21 @@
+2013-06-20 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Disable unused arguments.
+
+ * scribo/binarization/internal/local_threshold_core.hh
+ (scribo::binarization::internal::impl::generic::local_threshold_core)
+ * scribo/core/internal/doc_serializer.hh
+ (scribo::doc_serializer<E>::visit)
+ * scribo/filter/internal/component_aligned.hh
+ (scribo::filter::internal::component_aligned)
+ * scribo/filter/internal/compute.hh
+ (scribo::filter::internal::compute)
+ * scribo/primitive/link/internal/link_functor_base.hh
+ (internal::link_functor_base<L,E>::start_processing_object_)
+ * scribo/util/init_integral_image.hh
+ (scribo::util::impl::generic::init_integral_image):
+ Here.
+
2013-06-14 Roland Levillain <roland(a)lrde.epita.fr>
Shell-related portability fixes in Scribo's Makefiles.
diff --git a/scribo/scribo/binarization/internal/local_threshold_core.hh
b/scribo/scribo/binarization/internal/local_threshold_core.hh
index 16dc1be..5c5245c 100644
--- a/scribo/scribo/binarization/internal/local_threshold_core.hh
+++ b/scribo/scribo/binarization/internal/local_threshold_core.hh
@@ -108,7 +108,8 @@ namespace scribo
template <typename I, typename F>
void
- local_threshold_core(const Image<I>& input, unsigned window_size)
+ local_threshold_core(const Image<I>& /* input */,
+ unsigned /* window_size */)
{
mln_trace("scribo::binarization::internal::impl::generic::local_threshold_core");
diff --git a/scribo/scribo/core/internal/doc_serializer.hh
b/scribo/scribo/core/internal/doc_serializer.hh
index 606716b..69edd32 100644
--- a/scribo/scribo/core/internal/doc_serializer.hh
+++ b/scribo/scribo/core/internal/doc_serializer.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.
//
@@ -81,56 +81,56 @@ namespace scribo
template <typename E>
template <typename L>
void
- doc_serializer<E>::visit(const document<L>& doc) const
+ doc_serializer<E>::visit(const document<L>& /* doc */) const
{
}
template <typename E>
template <typename L>
void
- doc_serializer<E>::visit(const line_links<L>& llinks) const
+ doc_serializer<E>::visit(const line_links<L>& /* llinks */) const
{
}
template <typename E>
template <typename L>
void
- doc_serializer<E>::visit(const object_groups<L>& groups) const
+ doc_serializer<E>::visit(const object_groups<L>& /* groups */) const
{
}
template <typename E>
template <typename L>
void
- doc_serializer<E>::visit(const object_links<L>& links) const
+ doc_serializer<E>::visit(const object_links<L>& /* links */) const
{
}
template <typename E>
template <typename L>
void
- doc_serializer<E>::visit(const component_set<L>& comp_set) const
+ doc_serializer<E>::visit(const component_set<L>& /* comp_set */) const
{
}
template <typename E>
template <typename L>
void
- doc_serializer<E>::visit(const component_info<L>& info) const
+ doc_serializer<E>::visit(const component_info<L>& /* info */) const
{
}
template <typename E>
template <typename L>
void
- doc_serializer<E>::visit(const paragraph_set<L>& parset) const
+ doc_serializer<E>::visit(const paragraph_set<L>& /* parset */) const
{
}
template <typename E>
template <typename L>
void
- doc_serializer<E>::visit(const line_info<L>& line) const
+ doc_serializer<E>::visit(const line_info<L>& /* line */) const
{
}
diff --git a/scribo/scribo/filter/internal/component_aligned.hh
b/scribo/scribo/filter/internal/component_aligned.hh
index 210b0ea..ef810db 100644
--- a/scribo/scribo/filter/internal/component_aligned.hh
+++ b/scribo/scribo/filter/internal/component_aligned.hh
@@ -1,4 +1,4 @@
-// Copyright (C) 2010 EPITA Research and Development Laboratory
+// Copyright (C) 2010, 2013 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
@@ -73,7 +73,7 @@ namespace scribo
template <typename L>
bool
component_aligned(const component_set<L>& comps,
- unsigned current_object, unsigned nbh_object,
+ unsigned current_object, unsigned /* nbh_object */,
anchor::Type anchor, float max_alpha)
{
float max_alpha_rad = (max_alpha / 180.0f) * math::pi;
diff --git a/scribo/scribo/filter/internal/compute.hh
b/scribo/scribo/filter/internal/compute.hh
index 133cd3c..2c620a3 100644
--- a/scribo/scribo/filter/internal/compute.hh
+++ b/scribo/scribo/filter/internal/compute.hh
@@ -1,4 +1,4 @@
-// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
+// Copyright (C) 2009, 2010, 2013 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
@@ -91,7 +91,7 @@ namespace scribo
mln_concrete(I)
compute(const Image<I>& input_,
const Neighborhood<N>& nbh_,
- const V& label_type,
+ const V& /* label_type */,
const Function_v2b<F>& filter)
{
mln_trace("scribo::filter::internal::compute");
diff --git a/scribo/scribo/primitive/link/internal/link_functor_base.hh
b/scribo/scribo/primitive/link/internal/link_functor_base.hh
index e63096f..399faba 100644
--- a/scribo/scribo/primitive/link/internal/link_functor_base.hh
+++ b/scribo/scribo/primitive/link/internal/link_functor_base.hh
@@ -1,4 +1,4 @@
-// Copyright (C) 2009, 2010, 2011 EPITA Research and Development
+// Copyright (C) 2009, 2010, 2011, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
@@ -512,7 +512,7 @@ namespace scribo
inline
void
link_functor_base<L,E>::start_processing_object_(
- unsigned current_object)
+ unsigned /* current_object */)
{
// No-Op
}
diff --git a/scribo/scribo/util/init_integral_image.hh
b/scribo/scribo/util/init_integral_image.hh
index 305a0ee..b1af24c 100644
--- a/scribo/scribo/util/init_integral_image.hh
+++ b/scribo/scribo/util/init_integral_image.hh
@@ -62,8 +62,9 @@ namespace scribo
template <typename I, typename F>
mln_ch_value(I, mln_result(F))
- init_integral_image(const Image<I>& input, unsigned scale, F& f,
- const mln_box(I)& output_domain, unsigned border)
+ init_integral_image(const Image<I>& /* input */, unsigned /* scale */,
+ F& /* f */, const mln_box(I)& /* output_domain */,
+ unsigned /* border */)
{
mln_trace("scribo::util::impl::generic::init_integral_image");
typedef mln_ch_value(I, mln_result(F)) J;
--
1.7.10.4