Commit 76fca7b4 authored by miller86's avatar miller86

fixing compilation warning fixes

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23669 18c085ea-50e0-402c-830e-de6fd14e8384
parent 5eef802c
......@@ -43,7 +43,6 @@
#include <AMRPluginInfo.h>
#include <visit-config.h>
//extern "C" DBP_EXPORT const char *AMRVisItPluginVersion = VISIT_VERSION;
VISIT_PLUGIN_VERSION(AMR,DBP_EXPORT)
// ****************************************************************************
......
......@@ -80,7 +80,7 @@ AMRreader::getInfo( const char* filename )
}
hsize_t nobjs;
herr_t err = H5Gget_num_objs( file_id, &nobjs ); (void) err;
H5Gget_num_objs( file_id, &nobjs );
debug2 << "nobjs in " << filename << " is " << nobjs << "\n";
for( hsize_t i=0; i<nobjs; i++ )
{
......@@ -88,7 +88,7 @@ AMRreader::getInfo( const char* filename )
if( type == H5G_GROUP )
{
char name[1000];
ssize_t l= H5Gget_objname_by_idx( file_id, i, name, 1000 ); (void)l;
H5Gget_objname_by_idx( file_id, i, name, 1000 );
hid_t gid = H5Gopen1( file_id, name );
......
......@@ -170,7 +170,7 @@ AMRreaderWithLevels::MakeOctTree()
first_subdivide8(xMin, yMin, zMin, xMax, yMax, zMax, p.key, maxLevels);
// Make a map of bid to key.
for(size_t i = 0; i < patches.size(); ++i)
for(int i = 0; i < (int) patches.size(); ++i)
blkkey2bid[patches[i].key] = i;
}
......
......@@ -275,7 +275,6 @@ avtAMRFileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData *md)
#ifdef DO_DOMAIN_NESTING
avtStructuredDomainNesting *dn = new avtStructuredDomainNesting(nblks, nLevels);
dn->SetNumDimensions(3);
int ratios[3]; (void) ratios;
bool *levelCSset = new bool[nLevels];
for(int level = 0; level < nLevels; ++level)
{
......@@ -843,7 +842,7 @@ avtAMRFileFormat::GetVar(int domain, const char *name)
int np,ne;
GetReader()->GetInterfaceSizes( &np, &ne );
int vid,cmp=0,sz; ///TODO: check on fix for uninitialized vars
int vid=0,cmp=0,sz=0;
if( varname.compare("u velocity")==0 )
{
vid=AMRreaderInterface::i_velo;
......@@ -1057,7 +1056,7 @@ avtAMRFileFormat::GetAuxiliaryData(const char *var, int domain,
GetReader()->GetBlockDimensions(dom, blkdim);
float xs[3]= {0.f,0.f,0.f}, dx[3]= {0.f,0.f,0.f};
int ierr = GetReader()->GetBlockMesh(dom, xs, dx); (void) ierr;
GetReader()->GetBlockMesh(dom, xs, dx);
double extents[6];
extents[0] = xs[0];
......
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