Skip to content
Snippets Groups Projects
Commit 1a433f85 authored by jette's avatar jette
Browse files

Minor code change to avoid build warning

parent b2aebfa8
No related branches found
No related tags found
No related merge requests found
...@@ -497,6 +497,10 @@ static uint16_t _get_avail_cpus(struct job_record *job_ptr, int index) ...@@ -497,6 +497,10 @@ static uint16_t _get_avail_cpus(struct job_record *job_ptr, int index)
#if SELECT_DEBUG #if SELECT_DEBUG
info("host %s HW_ cpus %u boards %u sockets %u cores %u threads %u ", info("host %s HW_ cpus %u boards %u sockets %u cores %u threads %u ",
node_ptr->name, cpus, boards, sockets, cores, threads); node_ptr->name, cpus, boards, sockets, cores, threads);
#else
/* Largely to avoid warning about unused variable "boards" */
debug2("host %s HW_ cpus %u boards %u sockets %u cores %u threads %u ",
node_ptr->name, cpus, boards, sockets, cores, threads);
#endif #endif
avail_cpus = slurm_get_avail_procs( avail_cpus = slurm_get_avail_procs(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment