Commit 48bb226e authored by Dave Demarle's avatar Dave Demarle
Browse files

COMP: Fix unused var and shadowed variable warnings

parent 215345fe
......@@ -54,7 +54,6 @@ XdmfGeometry::~XdmfGeometry() {
XdmfInt32
XdmfGeometry::Release()
{
XdmfDataItem *di = NULL;
XdmfXmlNode node;
XdmfInt32 Index = 0;
XdmfXmlNode Node;
......
......@@ -631,7 +631,7 @@ XdmfGrid::IsUniform(){
}
XdmfInt32
XdmfGrid::FindGridsAtTime(XdmfTime *Time, XdmfArray *ArrayToFill, XdmfFloat64 Epsilon, XdmfInt32 Append){
XdmfGrid::FindGridsAtTime(XdmfTime *theTime, XdmfArray *ArrayToFill, XdmfFloat64 Epsilon, XdmfInt32 Append){
XdmfInt64 i, index = 0, nchild;
nchild = this->GetNumberOfChildren();
......@@ -645,7 +645,7 @@ XdmfGrid::FindGridsAtTime(XdmfTime *Time, XdmfArray *ArrayToFill, XdmfFloat64 Ep
}
for(i=0 ; i < this->GetNumberOfChildren() ; i++){
// cout << "IsValid(" << i << ") = " << this->GetChild(i)->GetTime()->IsValid(Time) << endl;
if(this->GetChild(i)->GetTime()->IsValid(Time)){
if(this->GetChild(i)->GetTime()->IsValid(theTime)){
ArrayToFill->SetValueFromInt64(index, i);
index++;
}
......
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