Commit 3c039804 authored by Dave Partyka's avatar Dave Partyka

COMP: cleanup more warnings.

parent 801cd7c6
......@@ -82,7 +82,7 @@ void VPICDataSet::setView(int* xExtent, int* yExtent, int* zExtent)
return;
// Fetch the global information about the problem size and decomposition
int* layoutSize = this->global.getLayoutSize();
// int* layoutSize = this->global.getLayoutSize(); not used?
int*** layoutID = this->global.getLayoutID();
int* partSize = this->global.getPartSize();
float* origin = this->global.getPhysicalOrigin();
......
......@@ -180,7 +180,7 @@ void VPICView::partitionFiles()
}
}
}
this->numberOfMyParts = this->myParts.size();
this->numberOfMyParts = static_cast<int>(this->myParts.size());
delete [] partFileNames;
}
......@@ -451,7 +451,7 @@ void VPICView::loadVariableData(
// Read the variable data from file and store into overall var_array
// Load the appropriate part of the data from the part
long int offset = this->global.getVariableOffset(var, comp);
// long int offset = this->global.getVariableOffset(var, comp); not used?
for (int part = 0; part < this->numberOfMyParts; part++) {
this->myParts[part]->loadVariableData(
......@@ -621,7 +621,7 @@ void VPICView::setStride(int s[])
//
//////////////////////////////////////////////////////////////////////////////
void VPICView::PrintSelf(ostream& os, int indent)
void VPICView::PrintSelf(ostream& os, int vpicNotUsed(indent))
{
if (this->rank == 0) {
os << endl;
......
......@@ -114,6 +114,9 @@ private:
vector<VPICPart*> myParts; // Every VPICPart this processor handles
int numberOfMyParts;
VPICView(const VPICView&); // Not implemented.
void operator=(const VPICView&); // Not implemented.
};
#endif
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