Skip to content

Commit 1797341

Browse files
committed
ofi_common: fix minor compiler warning
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
1 parent 374e5c9 commit 1797341

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opal/mca/common/ofi/common_ofi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ opal_common_ofi_module_t opal_common_ofi = {.prov_include = NULL,
4141
static const char default_prov_exclude_list[] = "shm,sockets,tcp,udp,rstream,usnic";
4242
static opal_mutex_t opal_common_ofi_mutex = OPAL_MUTEX_STATIC_INIT;
4343
static int opal_common_ofi_init_ref_cnt = 0;
44+
#ifdef HAVE_STRUCT_FI_OPS_MEM_MONITOR
4445
static bool opal_common_ofi_installed_memory_monitor = false;
46+
#endif
4547

4648
#ifdef HAVE_STRUCT_FI_OPS_MEM_MONITOR
4749

0 commit comments

Comments
 (0)