Commit c972256f authored by gsell's avatar gsell
Browse files

Merge branch '639-unused-variable-in-ippl-test-particle-p3m3dmicrobunching-cpp' into 'master'

Resolve "unused variable in ippl/test/particle/p3m3dMicrobunching.cpp"

Closes #639

See merge request !478
parents b02ea9bf 5240d855
......@@ -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
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