Commit be75c786 authored by Antonio J. Pena's avatar Antonio J. Pena
Browse files

Hotfix for 53640e26

The commented-out variable in 53640e26 is in fact hiddenly used by the macro
MPIU_ERR_SET1, only if HAVE_ERROR_CHECKING is defined. That macro assumes the
variable is declared and does not take it from its arguments. This hotfix
declares the FCNAME[] variable if HAVE_ERROR_CHECKING is defined.
parent 53640e26
......@@ -172,10 +172,12 @@ int MPID_NS_Publish( MPID_NS_Handle handle, const MPID_Info *info_ptr,
int MPID_NS_Lookup( MPID_NS_Handle handle, const MPID_Info *info_ptr,
const char service_name[], char port[] )
{
/* static const char FCNAME[] = "MPID_NS_Lookup"; */
FILE *fp;
char filename[MAXPATHLEN];
int mpi_errno = MPI_SUCCESS;
#ifdef HAVE_ERROR_CHECKING
static const char FCNAME[] = "MPID_NS_Lookup";
#endif
/* Determine file and directory name. The file name is from
the service name */
......
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