Commit 81dd7125 authored by Christoph Grueninger's avatar Christoph Grueninger
Browse files

[cleanup] Remove bizzare if-else-continue statement.

(reviewed by fetzer)


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14021 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent ac9b7456
......@@ -134,12 +134,11 @@ void findUnusedKeys_(std::list<std::string> &unusedParams,
for (unsigned int i = 0; i < keys.size(); ++i) {
std::string canonicalName = prefix + keys[i];
// check whether the key was accessed
if (rt.hasKey(canonicalName))
continue;
else if (drt.hasKey(canonicalName))
continue;
unusedParams.push_back(canonicalName);
// store keys which were not accessed
if (!rt.hasKey(canonicalName) && !drt.hasKey(canonicalName))
{
unusedParams.push_back(canonicalName);
}
}
// loop over all subtrees
......
Supports Markdown
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