diff --git a/runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h b/runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h index 557b89ac5aa9..6b7f9ab07ffb 100644 --- a/runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h +++ b/runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h @@ -82,7 +82,6 @@ static sbatchVersion determineSlurmVersion(void) { memset(version, 0, buflen); if (chpl_run_utility1K("sbatch", argv, version, buflen) <= 0) { chpl_error("Error trying to determine slurm version", 0, 0); - } if (strstr(version, "slurm")) { return slurm; diff --git a/runtime/src/launch/slurm-srun/launch-slurm-srun.c b/runtime/src/launch/slurm-srun/launch-slurm-srun.c index ed5e9b9fb1e3..fc73e923cb11 100644 --- a/runtime/src/launch/slurm-srun/launch-slurm-srun.c +++ b/runtime/src/launch/slurm-srun/launch-slurm-srun.c @@ -61,7 +61,6 @@ static const char* getTmpDir(void) { // Check what version of slurm is on the system // Returns 0 on success, 1 and prints an error message on failure -static int checkSlurmVersion(void) { const int buflen = 256; char versionBuf[buflen]; char *argv[3];