diff --git a/ompi/mca/dpm/orte/dpm_orte.c b/ompi/mca/dpm/orte/dpm_orte.c index 9c502a2d24..4446cc022a 100644 --- a/ompi/mca/dpm/orte/dpm_orte.c +++ b/ompi/mca/dpm/orte/dpm_orte.c @@ -490,7 +490,7 @@ static int spawn(int count, char **array_of_commands, { int rc, i, j, counter; int have_wdir=0; - int valuelen=OMPI_PATH_MAX, flag=0; + int flag=0; char cwd[OMPI_PATH_MAX]; char host[OMPI_PATH_MAX]; /*** should define OMPI_HOST_MAX ***/ char prefix[OMPI_PATH_MAX];