summaryrefslogtreecommitdiff
path: root/configmgr/source/partial.cxx
diff options
context:
space:
mode:
authorBenjamin Ni <benjaminniri@hotmail.com>2015-09-25 11:41:53 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-02 23:40:57 +0100
commitbe729e772196f33543e21cb9bac21add87726b20 (patch)
treef2150f458e2b07f8924b4702d37c09c8dd52215a /configmgr/source/partial.cxx
parent6ccf68622e51c1b727dd042c1c1a71b5d1fd6a12 (diff)
tdf#94269: Replace "n" prefix for bool variables with "b"
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'configmgr/source/partial.cxx')
-rw-r--r--configmgr/source/partial.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/configmgr/source/partial.cxx b/configmgr/source/partial.cxx
index 44537aae5f7a..14ba0d61343c 100644
--- a/configmgr/source/partial.cxx
+++ b/configmgr/source/partial.cxx
@@ -120,18 +120,18 @@ Partial::Containment Partial::contains(Path const & path) const {
// ** If there is some startInclude along its trace: => CONTAINS_NODE
// ** If there is no startInclude along its trace: => CONTAINS_SUBNODES
Node const * p = &root_;
- bool includes = false;
+ bool bIncludes = false;
for (Path::const_iterator i(path.begin()); i != path.end(); ++i) {
Node::Children::const_iterator j(p->children.find(*i));
if (j == p->children.end()) {
return p->startInclude ? CONTAINS_NODE : CONTAINS_NOT;
}
p = &j->second;
- includes |= p->startInclude;
+ bIncludes |= p->startInclude;
}
return p->children.empty() && !p->startInclude
? CONTAINS_NOT
- : includes ? CONTAINS_NODE : CONTAINS_SUBNODES;
+ : bIncludes ? CONTAINS_NODE : CONTAINS_SUBNODES;
}
}