1
1

Remove some compilation warnings.

This commit was SVN r6753.
Этот коммит содержится в:
George Bosilca 2005-08-05 18:37:42 +00:00
родитель 342fef77d0
Коммит 439101dd00
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -274,7 +274,7 @@ int mca_pml_uniq_add_procs(ompi_proc_t** procs, size_t nprocs)
mca_pml_uniq_ptl_t* ptl_base = OBJ_NEW(mca_pml_uniq_ptl_t);
ptl_base->ptl = ptl;
ptl_base->ptl_cache_size = ptl->ptl_cache_size;
ptl->ptl_base = ptl_base;
ptl->ptl_base = (struct mca_pml_base_ptl_t*)ptl_base;
}
proc_pml->proc_ptl_first.ptl_base = ptl->ptl_base;
proc_pml->proc_ptl_first.ptl_peer = ptl_peers[p];

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

@ -41,12 +41,12 @@ OBJ_CLASS_DECLARATION(mca_pml_uniq_send_request_t);
rc) \
{ \
mca_pml_proc_t *proc = mca_pml_uniq_proc_lookup_remote(comm,dst); \
mca_pml_uniq_ptl_t* ptl_base; \
mca_pml_uniq_ptl_t* ptl_base; \
\
if(NULL == proc) { \
return OMPI_ERR_OUT_OF_RESOURCE; \
} \
ptl_base = proc->proc_ptl_first.ptl_base; \
ptl_base = (mca_pml_uniq_ptl_t*)proc->proc_ptl_first.ptl_base; \
/* \
* check to see if there is a cache of send requests associated with \
* this ptl - if so try the allocation from there. \
@ -119,7 +119,7 @@ OBJ_CLASS_DECLARATION(mca_pml_uniq_send_request_t);
#define MCA_PML_UNIQ_SEND_REQUEST_RETURN(sendreq) \
{ \
mca_ptl_base_module_t* ptl = (sendreq)->req_ptl; \
mca_pml_uniq_ptl_t* ptl_base = ptl->ptl_base; \
mca_pml_uniq_ptl_t* ptl_base = (mca_pml_uniq_ptl_t*)ptl->ptl_base; \
\
/* Let the base handle the reference counts */ \
MCA_PML_BASE_SEND_REQUEST_FINI( &((sendreq)->req_send) ); \