From 83a4ed2f144134ea6f1028e1ea67d8545b3e1d3c Mon Sep 17 00:00:00 2001 From: mdw Date: Tue, 26 Sep 2023 11:44:14 -0400 Subject: [PATCH] Remove return code checking, following the Slurm API --- src/expand.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/expand.cc b/src/expand.cc index fb567af3c..393426e8d 100644 --- a/src/expand.cc +++ b/src/expand.cc @@ -637,12 +637,7 @@ main(int argc, char** argv) //===================== #ifdef HAVE_LIBSLURM #if SLURM_VERSION_NUMBER > SLURM_VERSION_NUM(21,10,0) - { - int rc = slurm_init(0); - if (rc != SLURM_SUCCESS) - std::cerr << "EXP [" << myid << "]: error initializing Slurm API: " - << slurm_strerror(rc) << std::endl; - } + slurm_init(0); #endif #endif