Commit 848412fc authored by Kenneth Leiter's avatar Kenneth Leiter

COMP: Remove some warnings.

parent e579eeee
......@@ -666,7 +666,6 @@ XdmfArray::populateItem(const std::map<std::string, std::string> & itemPropertie
{
XdmfItem::populateItem(itemProperties, childItems, reader);
std::string contentVal;
unsigned int sizeVal = 1;
const shared_ptr<const XdmfArrayType> arrayType =
XdmfArrayType::New(itemProperties);
......
......@@ -216,7 +216,7 @@ XdmfHDF5Writer::write(XdmfArray & array,
// Overwriting - dataset rank must remain the same (hdf5 constraint)
hid_t dataspace = H5Dget_space(dataset);
const int ndims = H5Sget_simple_extent_ndims(dataspace);
const unsigned int ndims = H5Sget_simple_extent_ndims(dataspace);
if(ndims != current_dims.size())
XdmfError::message(XdmfError::FATAL, \
"Data set rank different -- ndims != "
......
......@@ -48,8 +48,8 @@ public:
mHeavyDataWriter(heavyDataWriter),
mLastXPathed(false),
mLightDataLimit(100),
mStream(stream),
mMode(Default),
mStream(stream),
mWriteXPaths(true),
mXMLCurrentNode(NULL),
mXMLDocument(NULL),
......
......@@ -487,7 +487,7 @@ namespace {
toReturnSet->initialize(set->getArrayType(),
set->getSize());
for(int i=0; i<set->getSize(); ++i) {
for(unsigned int i=0; i<set->getSize(); ++i) {
const unsigned int nodeId = set->getValue<unsigned int>(i);
std::map<unsigned int, unsigned int>::const_iterator iter =
oldIdToNewId.find(nodeId);
......@@ -928,4 +928,5 @@ XdmfTopologyConverter::convert(const shared_ptr<XdmfUnstructuredGrid> gridToConv
"Cannot convert topology type in "
"XdmfTopologyConverter::convert");
}
}
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