Commit a725cd70 authored by Darius Buntinas's avatar Darius Buntinas
Browse files

[svn-r6945] fixed some warnings

parent 03a1ac99
......@@ -27,7 +27,8 @@
#undef FUNCNAME
#define FUNCNAME MPI_Errhandler_set
#undef FCNAME
#define FCNAME MPIDI_QUOTE(FUNCNAME)
/*@
MPI_Errhandler_set - Sets the error handler for a communicator
......@@ -51,7 +52,6 @@ The replacement for this routine is 'MPI_Comm_set_errhandler'.
@*/
int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler)
{
static const char FCNAME[] = "MPI_Errhandler_set";
int mpi_errno = MPI_SUCCESS;
MPID_Comm *comm_ptr = NULL;
MPID_Errhandler *errhan_ptr;
......
......@@ -1734,7 +1734,9 @@ int MPID_nem_tcp_connpoll(int in_blocking_poll)
MPIU_DBG_MSG(NEM_SOCK_DET, VERBOSE, "error polling fd, closing sc");
if (it_sc->vc) {
#ifdef HAVE_ERROR_CHECKING
int pg_rank = it_sc->vc->pg_rank; /* vc goes away on cleanup */
#endif
MPIDU_FTB_COMMERR(MPIDU_FTB_EV_COMMUNICATION, it_sc->vc);
cleanup_errno = MPID_nem_tcp_cleanup_on_error(it_sc->vc);
if (cleanup_errno) {
......
......@@ -29,7 +29,6 @@ int MPIDI_CH3_iStartMsg (MPIDI_VC_t *vc, void *hdr, MPIDI_msg_sz_t hdr_sz, MPID_
int mpi_errno = MPI_SUCCESS;
int again = 0;
int in_cs = 0;
MPID_Progress_state progress_state;
MPIDI_STATE_DECL(MPID_STATE_MPIDI_CH3_ISTARTMSG);
MPIDI_FUNC_ENTER(MPID_STATE_MPIDI_CH3_ISTARTMSG);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment