- Coverity issues 939, 940, 941:
Event uninit_use_in_call: Using uninitialized value "tag" in call to function "(ompi_dpm).connect_accept" and others The tag is set and used in get_rport only on root... This commit was SVN r17972.
Этот коммит содержится в:
родитель
4a5431ef11
Коммит
56f3d59f2a
@ -42,7 +42,7 @@ int MPI_Comm_accept(char *port_name, MPI_Info info, int root,
|
||||
bool send_first=false; /* we receive first */
|
||||
ompi_communicator_t *newcomp=MPI_COMM_NULL;
|
||||
char *tmp_port=NULL;
|
||||
orte_rml_tag_t tag;
|
||||
orte_rml_tag_t tag = 0; /* tag is set & used in get_rport only at root; silence coverity */
|
||||
|
||||
MEMCHECKER(
|
||||
memchecker_comm(comm);
|
||||
|
@ -47,7 +47,7 @@ int MPI_Comm_connect(char *port_name, MPI_Info info, int root,
|
||||
ompi_communicator_t *newcomp=MPI_COMM_NULL;
|
||||
orte_process_name_t port_proc_name;
|
||||
char *tmp_port=NULL;
|
||||
orte_rml_tag_t tag;
|
||||
orte_rml_tag_t tag = 0; /* tag is set & used in get_rport only at root; silence coverity */
|
||||
|
||||
MEMCHECKER(
|
||||
memchecker_comm(comm);
|
||||
|
@ -45,7 +45,7 @@ int MPI_Comm_spawn(char *command, char **argv, int maxprocs, MPI_Info info,
|
||||
ompi_communicator_t *newcomp=NULL;
|
||||
char port_name[MPI_MAX_PORT_NAME];
|
||||
char *tmp_port;
|
||||
orte_rml_tag_t tag;
|
||||
orte_rml_tag_t tag = 0; /* tag is set & used in get_rport only at root; silence coverity */
|
||||
bool non_mpi = false;
|
||||
|
||||
MEMCHECKER(
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user