Commit 5240d855 authored by gsell's avatar gsell
Browse files

unused variable warning fixed in IPP test

parent b02ea9bf
......@@ -465,6 +465,9 @@ class ChargedParticles : public IpplParticleBase<PL> {
MPI_Comm comm = Ippl::getComm();
h5_err_t h5err = H5SetPropFileMPIOCollective (props, &comm);
PAssert (h5err != H5_ERR);
#ifdef NDEBUG
(void) h5err; // without this line we get an unused variable warning
#endif
H5f_m = H5OpenFile(fn.c_str(), H5_O_WRONLY, props);
}
......
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