]> granicus.if.org Git - icinga2/commitdiff
Removed unused variable.
authorGunnar Beutner <gunnar.beutner@netways.de>
Thu, 7 Feb 2013 08:37:57 +0000 (09:37 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Thu, 7 Feb 2013 08:38:25 +0000 (09:38 +0100)
test/base-dictionary.cpp

index c2452b39d2ce6446292b580c7ea7c4fa5dbaf180..936fec465da68f33c365b2738835c4745bf0cd4f 100644 (file)
@@ -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++;
        }