1
1

If the rc variable is not initialized then there is a execution path who return whatever is in rc. Of course everything fail afterward as rc NEVER contain what we really expect by default.

This commit was SVN r3014.
Этот коммит содержится в:
George Bosilca 2004-10-09 21:20:04 +00:00
родитель 7bd8f14978
Коммит 1777c361e9

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

@ -23,7 +23,7 @@ int mca_oob_tcp_recv(
int flags)
{
mca_oob_tcp_msg_t *msg;
int i, rc, size = 0;
int i, rc = 0, size = 0;
int tag = (tagp != NULL) ? *tagp : MCA_OOB_TAG_ANY;
if(mca_oob_tcp_component.tcp_debug > 1) {