added: OPM_UNUSED_NOMPI
for suppressing unused variable warnings when a variable is unused if compiled without MPI
This commit is contained in:
@@ -40,4 +40,10 @@
|
||||
#define OPM_OPTIM_UNUSED
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MPI
|
||||
#define OPM_UNUSED_NOMPI
|
||||
#else
|
||||
#define OPM_UNUSED_NOMPI OPM_UNUSED
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user