1. 17 Oct, 2017 9 commits
  2. 16 Oct, 2017 24 commits
  3. 14 Oct, 2017 7 commits
    • Felip Moll's avatar
      Work around issue with sysmacros.h and gcc7 / glibc 2.25. · 5b4d18fc
      Felip Moll authored
      Setting -Werror tricks the test into failing on the
      
      "error: In the GNU C Library, "major" is defined by <sys/sysmacros.h>.
       For historical compatibility, it is  currently defined by <sys/types.h>
       as well, but we plan to remove this soon. To use "major", include
       <sys/sysmacros.h> directly. If you did not intend to use a system-defined
       macro "major", you should undefine it after including <sys/types.h>."
      
      error. Since the normal Slurm build uses -Werror, this warning on including
      both headers will then cause the build itself to fail.
      
      Bug 3982.
      5b4d18fc
    • Tim Wickberg's avatar
      Silence false positive warning about uninit'd save_time_limit. · a6f1e7bf
      Tim Wickberg authored
      deadline_time_limit is ensuring this is always set, but the optimizer
      appears to not be able to work out the flow here.
      a6f1e7bf
    • Tim Wickberg's avatar
      Fix another uninitialized warning. · f38a9b93
      Tim Wickberg authored
      Move test above the accounting limit check. Change the test
      to verify first_job_ptr instead of pack_job_id to avoid warning
      about a possible dereference of an uninitialized variable lower down.
      (Note that both pack_job_id and first_job_ptr are set at the same time,
      so this test is functionally equivalent but able to convince the compiler
      that things will be okay.)
      f38a9b93
    • Tim Wickberg's avatar
      Initialize cnt to zero. · 4a884348
      Tim Wickberg authored
      4a884348
    • Tim Wickberg's avatar
      Fix -Werror=maybe-uninitialized error. · c8eed248
      Tim Wickberg authored
      This one's a bit confusing, and should be a false positive, but
      initializing the saveptr argument to strtok_r quiets things down.
      c8eed248
    • Tim Wickberg's avatar
      Fix GCC warning from -Werror=maybe-uninitialized. · 45110090
      Tim Wickberg authored
      Treat default case as an error.
      Visible with GCC 6.3 and -01.
      45110090
    • Morris Jette's avatar
      Merge branch 'slurm-17.02' · 693fb6b9
      Morris Jette authored
      693fb6b9