peers[] was being initialized twice - once after it was actually
set. This commit was SVN r3780.
Этот коммит содержится в:
родитель
5727a88632
Коммит
b409cda62e
@ -221,10 +221,7 @@ int mca_ptl_sm_add_procs_same_base_addr(
|
|||||||
|
|
||||||
/* see if need to allocate space for extra procs */
|
/* see if need to allocate space for extra procs */
|
||||||
if( 0 > mca_ptl_sm_component.sm_max_procs ) {
|
if( 0 > mca_ptl_sm_component.sm_max_procs ) {
|
||||||
/* initializion */
|
|
||||||
for(i=0 ; i < nprocs ; i++ ) {
|
|
||||||
peers[i]=NULL;
|
|
||||||
}
|
|
||||||
/* no limit */
|
/* no limit */
|
||||||
if( 0 <= mca_ptl_sm_component.sm_extra_procs ) {
|
if( 0 <= mca_ptl_sm_component.sm_extra_procs ) {
|
||||||
/* limit */
|
/* limit */
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user