Skip to content
Snippets Groups Projects
Commit 43b1974b authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Remove unused local variable

parent 718d6615
No related branches found
No related tags found
No related merge requests found
...@@ -35,13 +35,11 @@ public: ...@@ -35,13 +35,11 @@ public:
localView.bind(entity); localView.bind(entity);
localIndexSet.bind(localView); localIndexSet.bind(localView);
Index localIndex;
for (size_t i=0; i<localIndexSet.size(); i++) for (size_t i=0; i<localIndexSet.size(); i++)
{ {
if (localView.tree().finiteElement().localCoefficients().localKey(i).subEntity() == subEntity if (localView.tree().finiteElement().localCoefficients().localKey(i).subEntity() == subEntity
and localView.tree().finiteElement().localCoefficients().localKey(i).codim() == codim) and localView.tree().finiteElement().localCoefficients().localKey(i).codim() == codim)
{ {
localIndex = i;
result = localIndexSet.index(i)[0]; result = localIndexSet.index(i)[0];
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment