1
1
reported by Coverity as CID 1270228
Этот коммит содержится в:
Gilles Gouaillardet 2015-02-17 14:28:17 +09:00
родитель 55948f2a6d
Коммит 7dabc7b3ab

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

@ -258,13 +258,13 @@ static int mca_bml_r2_add_procs( size_t nprocs,
if( (btl_flags & MCA_BTL_FLAGS_PUT) && (NULL == btl->btl_put) ) { if( (btl_flags & MCA_BTL_FLAGS_PUT) && (NULL == btl->btl_put) ) {
opal_output(0, "mca_bml_r2_add_procs: The PUT flag is specified for" opal_output(0, "mca_bml_r2_add_procs: The PUT flag is specified for"
" the %s BTL without any PUT function attached. Discard the flag !", " the %s BTL without any PUT function attached. Discard the flag !",
bml_btl->btl->btl_component->btl_version.mca_component_name); btl->btl_component->btl_version.mca_component_name);
btl_flags ^= MCA_BTL_FLAGS_PUT; btl_flags ^= MCA_BTL_FLAGS_PUT;
} }
if( (btl_flags & MCA_BTL_FLAGS_GET) && (NULL == btl->btl_get) ) { if( (btl_flags & MCA_BTL_FLAGS_GET) && (NULL == btl->btl_get) ) {
opal_output(0, "mca_bml_r2_add_procs: The GET flag is specified for" opal_output(0, "mca_bml_r2_add_procs: The GET flag is specified for"
" the %s BTL without any GET function attached. Discard the flag !", " the %s BTL without any GET function attached. Discard the flag !",
bml_btl->btl->btl_component->btl_version.mca_component_name); btl->btl_component->btl_version.mca_component_name);
btl_flags ^= MCA_BTL_FLAGS_GET; btl_flags ^= MCA_BTL_FLAGS_GET;
} }