The return of the asprintf is always an int. Not a big deal except when we have
to catch some errors. This commit was SVN r5503.
Этот коммит содержится в:
родитель
668bc9a2f9
Коммит
b57ab5fb26
@ -102,7 +102,7 @@ mca_mpool_sm_init(bool enable_progress_threads,
|
||||
bool enable_mpi_threads)
|
||||
{
|
||||
char *file_name;
|
||||
size_t len;
|
||||
int len;
|
||||
|
||||
mca_allocator_base_component_t* allocator_component = mca_allocator_component_lookup(
|
||||
mca_mpool_sm_component.sm_allocator_name);
|
||||
|
@ -114,8 +114,8 @@ int mca_ptl_sm_add_procs_same_base_addr(
|
||||
ompi_bitmap_t* reachability)
|
||||
{
|
||||
int return_code=OMPI_SUCCESS;
|
||||
size_t i,j,proc,size,len,my_len,n_to_allocate,length;
|
||||
int n_local_procs,cnt;
|
||||
size_t i,j,proc,size,my_len,n_to_allocate,length;
|
||||
int n_local_procs,cnt,len;
|
||||
mca_ptl_sm_exchange_t **sm_proc_info;
|
||||
ompi_proc_t* my_proc; /* pointer to caller's proc structure */
|
||||
mca_ptl_sm_t *ptl_sm;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user