added: OPM_UNUSED_NOMPI
for suppressing unused variable warnings when a variable is unused if compiled without MPI
This commit is contained in:
parent
56491a2e90
commit
8c2cb50569
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user