]> granicus.if.org Git - icinga2/commitdiff
Remove unused variable
authorGunnar Beutner <gunnar@beutner.name>
Mon, 2 Mar 2015 12:13:57 +0000 (13:13 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 2 Mar 2015 12:21:06 +0000 (13:21 +0100)
lib/config/configitem.cpp

index 6cb4c8ae820d2677bf48bca73c957b2f7ad834f1..8b73b66b917e741ddc216d264ef4f069c58d3625 100644 (file)
@@ -335,8 +335,6 @@ bool ConfigItem::CommitNewItems(WorkQueue& upq)
                std::set<String> completed_types;
 
                while (types.size() != completed_types.size()) {
-                       std::set<String> current_types;
-
                        BOOST_FOREACH(const String& type, types) {
                                if (completed_types.find(type) != completed_types.end())
                                        continue;