A while back I fixed most of the compiler warnings in
libcgroup, but a handful still remain.  This patchset
removes the last few warnings and adds a check to our
continuous integration (Github Actions, currently) to
convert all warnings into errors.

I verified that this continuous integration step works
by adding an unused variable and then running the build
through CI [1].

There are no test changes associated with this
patchset.

[1] https://github.com/drakenclimber/libcgroup/runs/2325573004

The code is available here:
https://github.com/drakenclimber/libcgroup/tree/issues/fixwarnings

Automated test results are passing and are available
here:
https://github.com/drakenclimber/libcgroup/runs/2325785282

Code coverage remained effectively the same at 51.0%:
https://coveralls.io/builds/38736353

Tom Hromatka (5):
  configure: Rename configure.in to configure.ac
  api.c: Fix incompatible pointer warning
  api.c: Fix string truncation warnings
  wrapper.c: Fix fprintf argument warning
  github: Convert all compiler warnings to errors

 .github/actions/setup-libcgroup/action.yml |  2 +-
 configure.in => configure.ac               |  1 -
 doc/internal/release-github.txt            |  2 +-
 doc/internal/release.txt                   |  4 ++--
 src/api.c                                  | 17 +++++++++++++----
 src/wrapper.c                              |  2 +-
 6 files changed, 18 insertions(+), 10 deletions(-)
 rename configure.in => configure.ac (99%)

-- 
2.26.2



_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to