1
1

peers[] was being initialized twice - once after it was actually

set.

This commit was SVN r3780.
Этот коммит содержится в:
Rich Graham 2004-12-10 22:31:29 +00:00
родитель 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 */