From 8fe490f945e69f6d91eea6228bbc73f7942fb641 Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Wed, 22 Aug 2018 15:12:47 +0200 Subject: [PATCH] Update variable names --- lib/config/configitem.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/config/configitem.cpp b/lib/config/configitem.cpp index 258f38a35..f435c9481 100644 --- a/lib/config/configitem.cpp +++ b/lib/config/configitem.cpp @@ -478,15 +478,15 @@ bool ConfigItem::CommitNewItems(const ActivationContext::Ptr& context, WorkQueue if (unresolved_dep) continue; - int commited_items = 0; - upq.ParallelFor(items, [&type, &commited_items](const ItemPair& ip) { + int committed_items = 0; + upq.ParallelFor(items, [&type, &committed_items](const ItemPair& ip) { const ConfigItem::Ptr& item = ip.first; if (item->m_Type != type) return; ip.first->Commit(ip.second); - commited_items++; + committed_items++; }); upq.Join(); @@ -494,9 +494,9 @@ bool ConfigItem::CommitNewItems(const ActivationContext::Ptr& context, WorkQueue completed_types.insert(type); #ifdef I2_DEBUG - if (commited_items > 0) + if (committed_items > 0) Log(LogDebug, "configitem") - << "Committed " << commited_items << " items of type '" << type->GetName() << "'."; + << "Committed " << committed_items << " items of type '" << type->GetName() << "'."; #endif /* I2_DEBUG */ if (upq.HasExceptions())