[shark] 78/79: unused variable removed (and hence a warning)

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Nov 26 15:41:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository shark.

commit 97b1c541c00ab8176a066e52a6df138e104c6595
Author: Tobias Glasmachers <tobias.glasmachers at ini.rub.de>
Date:   Sat Nov 7 11:12:53 2015 +0100

    unused variable removed (and hence a warning)
---
 include/shark/Models/Trees/KDTree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/shark/Models/Trees/KDTree.h b/include/shark/Models/Trees/KDTree.h
index 9704e90..b280430 100644
--- a/include/shark/Models/Trees/KDTree.h
+++ b/include/shark/Models/Trees/KDTree.h
@@ -244,7 +244,7 @@ protected:
 		typedef typename boost::range_iterator<Range const>::type iterator;
 
 		iterator begin = boost::begin(points);
-		iterator end = boost::end(points);
+		// iterator end = boost::end(points);
 
 		// calculate bounding box of the data
 		InputT L = **begin;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/shark.git



More information about the debian-science-commits mailing list