[icinga-checkins] icinga.org: icinga2/master: Removed unused variable.

git at icinga.org git at icinga.org
Thu Feb 7 11:14:42 CET 2013


Module: icinga2
Branch: master
Commit: 98aacd473aa92e22684e1048aa5f672414181835
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=98aacd473aa92e22684e1048aa5f672414181835

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Thu Feb  7 09:37:57 2013 +0100

Removed unused variable.

---

 test/base-dictionary.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/test/base-dictionary.cpp b/test/base-dictionary.cpp
index c2452b3..936fec4 100644
--- a/test/base-dictionary.cpp
+++ b/test/base-dictionary.cpp
@@ -63,10 +63,9 @@ BOOST_AUTO_TEST_CASE(unnamed_order)
 
 	/* unnamed items are guaranteed to be in whatever order they were
 	 * inserted in. */
-	String key;
 	Value value;
 	int i = 0;
-	BOOST_FOREACH(tie(key, value), dictionary) {
+	BOOST_FOREACH(tie(tuples::ignore, value), dictionary) {
 		BOOST_REQUIRE(value == i);
 		i++;
 	}





More information about the icinga-checkins mailing list