From 8efdfd9dfc8d58a869c4c291d1325a9c46a204c3 Mon Sep 17 00:00:00 2001 From: ippei ito Date: Sat, 14 Mar 2015 06:07:55 +0900 Subject: [PATCH] Fix unused-parameter Warning --- modules/flann/include/opencv2/flann/autotuned_index.h | 2 +- modules/flann/include/opencv2/flann/composite_index.h | 2 +- .../flann/include/opencv2/flann/hierarchical_clustering_index.h | 2 +- modules/flann/include/opencv2/flann/kdtree_index.h | 2 +- modules/flann/include/opencv2/flann/kdtree_single_index.h | 2 +- modules/flann/include/opencv2/flann/kmeans_index.h | 2 +- modules/flann/include/opencv2/flann/linear_index.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/flann/include/opencv2/flann/autotuned_index.h b/modules/flann/include/opencv2/flann/autotuned_index.h index e82d053568..43a7bcd920 100644 --- a/modules/flann/include/opencv2/flann/autotuned_index.h +++ b/modules/flann/include/opencv2/flann/autotuned_index.h @@ -97,7 +97,7 @@ public: /** * Dummy implementation for other algorithms of addable indexes after that. */ - void addIndex(const Matrix& wholeData, const Matrix& additionalData) + void addIndex(const Matrix& /*wholeData*/, const Matrix& /*additionalData*/) { } diff --git a/modules/flann/include/opencv2/flann/composite_index.h b/modules/flann/include/opencv2/flann/composite_index.h index 9372007467..02b7bc1f31 100644 --- a/modules/flann/include/opencv2/flann/composite_index.h +++ b/modules/flann/include/opencv2/flann/composite_index.h @@ -133,7 +133,7 @@ public: /** * Dummy implementation for other algorithms of addable indexes after that. */ - void addIndex(const Matrix& wholeData, const Matrix& additionalData) + void addIndex(const Matrix& /*wholeData*/, const Matrix& /*additionalData*/) { } diff --git a/modules/flann/include/opencv2/flann/hierarchical_clustering_index.h b/modules/flann/include/opencv2/flann/hierarchical_clustering_index.h index dddd98ad52..59423ae0cd 100644 --- a/modules/flann/include/opencv2/flann/hierarchical_clustering_index.h +++ b/modules/flann/include/opencv2/flann/hierarchical_clustering_index.h @@ -382,7 +382,7 @@ public: /** * Dummy implementation for other algorithms of addable indexes after that. */ - void addIndex(const Matrix& wholeData, const Matrix& additionalData) + void addIndex(const Matrix& /*wholeData*/, const Matrix& /*additionalData*/) { } diff --git a/modules/flann/include/opencv2/flann/kdtree_index.h b/modules/flann/include/opencv2/flann/kdtree_index.h index 8c0024a4de..1b8af4a597 100644 --- a/modules/flann/include/opencv2/flann/kdtree_index.h +++ b/modules/flann/include/opencv2/flann/kdtree_index.h @@ -120,7 +120,7 @@ public: /** * Dummy implementation for other algorithms of addable indexes after that. */ - void addIndex(const Matrix& wholeData, const Matrix& additionalData) + void addIndex(const Matrix& /*wholeData*/, const Matrix& /*additionalData*/) { } diff --git a/modules/flann/include/opencv2/flann/kdtree_single_index.h b/modules/flann/include/opencv2/flann/kdtree_single_index.h index 2b507e16b7..252fc4c5e1 100644 --- a/modules/flann/include/opencv2/flann/kdtree_single_index.h +++ b/modules/flann/include/opencv2/flann/kdtree_single_index.h @@ -113,7 +113,7 @@ public: /** * Dummy implementation for other algorithms of addable indexes after that. */ - void addIndex(const Matrix& wholeData, const Matrix& additionalData) + void addIndex(const Matrix& /*wholeData*/, const Matrix& /*additionalData*/) { } diff --git a/modules/flann/include/opencv2/flann/kmeans_index.h b/modules/flann/include/opencv2/flann/kmeans_index.h index f95e2fcabd..9c0f4e2df8 100644 --- a/modules/flann/include/opencv2/flann/kmeans_index.h +++ b/modules/flann/include/opencv2/flann/kmeans_index.h @@ -365,7 +365,7 @@ public: /** * Dummy implementation for other algorithms of addable indexes after that. */ - void addIndex(const Matrix& wholeData, const Matrix& additionalData) + void addIndex(const Matrix& /*wholeData*/, const Matrix& /*additionalData*/) { } diff --git a/modules/flann/include/opencv2/flann/linear_index.h b/modules/flann/include/opencv2/flann/linear_index.h index f54e3dee86..0ea084a5f5 100644 --- a/modules/flann/include/opencv2/flann/linear_index.h +++ b/modules/flann/include/opencv2/flann/linear_index.h @@ -88,7 +88,7 @@ public: /** * Dummy implementation for other algorithms of addable indexes after that. */ - void addIndex(const Matrix& wholeData, const Matrix& additionalData) + void addIndex(const Matrix& /*wholeData*/, const Matrix& /*additionalData*/) { }