added: OPM_UNUSED_NOMPI

for suppressing unused variable warnings when a variable
is unused if compiled without MPI
This commit is contained in:
Arne Morten Kvarving 2019-06-28 13:28:41 +02:00
parent 56491a2e90
commit 8c2cb50569

View File

@ -40,4 +40,10 @@
#define OPM_OPTIM_UNUSED #define OPM_OPTIM_UNUSED
#endif #endif
#ifdef HAVE_MPI
#define OPM_UNUSED_NOMPI
#else
#define OPM_UNUSED_NOMPI OPM_UNUSED
#endif
#endif #endif