Kaydet (Commit) 61b8596f authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: assertWithSideEffect

Change-Id: I6601e857394d7b460a105e851529350a62d1a2a6
üst 33c2688e
......@@ -92,8 +92,9 @@ ChildAccess::ChildAccess(
}
Path ChildAccess::getAbsolutePath() {
assert(getParentAccess().is());
Path path(getParentAccess()->getAbsolutePath());
rtl::Reference< Access > parent(getParentAccess());
assert(parent.is());
Path path(parent->getAbsolutePath());
path.push_back(name_);
return path;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment