Commit 300b1e47 authored by Darius Buntinas's avatar Darius Buntinas
Browse files

[svn-r6844] warning squash. Removed unused threadpriv_decls, and made ch3_pkt_type signed

parent 63716e8f
......@@ -812,7 +812,6 @@ int MPI_Allgather(void *sendbuf, int sendcount, MPI_Datatype sendtype,
{
int mpi_errno = MPI_SUCCESS;
MPID_Comm *comm_ptr = NULL;
MPIU_THREADPRIV_DECL;
MPID_MPI_STATE_DECL(MPID_STATE_MPI_ALLGATHER);
MPIR_ERRTEST_INITIALIZED_ORDIE();
......
......@@ -738,7 +738,6 @@ int MPI_Allreduce ( void *sendbuf, void *recvbuf, int count,
static const char FCNAME[] = "MPI_Allreduce";
int mpi_errno = MPI_SUCCESS;
MPID_Comm *comm_ptr = NULL;
MPIU_THREADPRIV_DECL;
MPID_MPI_STATE_DECL(MPID_STATE_MPI_ALLREDUCE);
MPIR_ERRTEST_INITIALIZED_ORDIE();
......
......@@ -409,7 +409,6 @@ int MPI_Alltoallw(void *sendbuf, int *sendcnts, int *sdispls,
{
int mpi_errno = MPI_SUCCESS;
MPID_Comm *comm_ptr = NULL;
MPIU_THREADPRIV_DECL;
MPID_MPI_STATE_DECL(MPID_STATE_MPI_ALLTOALLW);
MPIR_ERRTEST_INITIALIZED_ORDIE();
......
......@@ -668,7 +668,6 @@ int MPI_Gather(void *sendbuf, int sendcnt, MPI_Datatype sendtype,
{
int mpi_errno = MPI_SUCCESS;
MPID_Comm *comm_ptr = NULL;
MPIU_THREADPRIV_DECL;
MPID_MPI_STATE_DECL(MPID_STATE_MPI_GATHER);
MPIR_ERRTEST_INITIALIZED_ORDIE();
......
......@@ -1148,7 +1148,6 @@ int MPI_Reduce_scatter_block(void *sendbuf, void *recvbuf, int recvcount,
{
int mpi_errno = MPI_SUCCESS;
MPID_Comm *comm_ptr = NULL;
MPIU_THREADPRIV_DECL;
MPID_MPI_STATE_DECL(MPID_STATE_MPI_REDUCE_SCATTER_BLOCK);
MPIR_ERRTEST_INITIALIZED_ORDIE();
......
......@@ -1087,7 +1087,6 @@ int MPI_Reduce(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
{
int mpi_errno = MPI_SUCCESS;
MPID_Comm *comm_ptr = NULL;
MPIU_THREADPRIV_DECL;
MPID_MPI_STATE_DECL(MPID_STATE_MPI_REDUCE);
MPIR_ERRTEST_INITIALIZED_ORDIE();
......
......@@ -52,7 +52,8 @@ typedef enum MPIDI_CH3_Pkt_type
# if defined(MPIDI_CH3_PKT_ENUM)
, MPIDI_CH3_PKT_ENUM
# endif
, MPIDI_CH3_PKT_END_ALL
, MPIDI_CH3_PKT_END_ALL,
MPIDI_CH3_PKT_INVALID = -1 /* forces a signed enum to quash warnings */
}
MPIDI_CH3_Pkt_type_t;
......
......@@ -18,7 +18,6 @@
int MPID_Finalize(void)
{
int mpi_errno = MPI_SUCCESS;
MPIU_THREADPRIV_DECL; /* Required for Nest_incr */
MPIDI_STATE_DECL(MPID_STATE_MPID_FINALIZE);
MPIDI_FUNC_ENTER(MPID_STATE_MPID_FINALIZE);
......
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