1
1

mca_base_component_respository.c: fix compiler warning

This function is only used in the DL case -- it can be #if'ed out if
we're not compiling with DL support to avoid a compiler warning about
defined-but-not-used.
Этот коммит содержится в:
Jeff Squyres 2015-06-17 08:54:59 -07:00
родитель dfa36197ea
Коммит 097b48d521

Просмотреть файл

@ -262,6 +262,7 @@ int mca_base_component_repository_get_components (mca_base_framework_t *framewor
return OPAL_ERR_NOT_FOUND; return OPAL_ERR_NOT_FOUND;
} }
#if OPAL_HAVE_DL_SUPPORT
static void mca_base_component_repository_release_internal (mca_base_component_repository_item_t *ri) { static void mca_base_component_repository_release_internal (mca_base_component_repository_item_t *ri) {
int group_id; int group_id;
@ -277,6 +278,7 @@ static void mca_base_component_repository_release_internal (mca_base_component_r
ri->ri_dlhandle = NULL; ri->ri_dlhandle = NULL;
} }
} }
#endif
void mca_base_component_repository_release(const mca_base_component_t *component) void mca_base_component_repository_release(const mca_base_component_t *component)
{ {