mbox series

[0/2] Fixing clang compilation warnings

Message ID 20181215174932.11635-1-ao2@ao2.it (mailing list archive)
Headers show
Series Fixing clang compilation warnings | expand

Message

Antonio Ospite Dec. 15, 2018, 5:49 p.m. UTC
Hi,

now that silent rules are in place it is also easier to spot compilation
warnings with clang (CC=clang ./configure && make), so let's fix these as they
seem pretty straightforward.

The two patches in this series fix two classes of clang warnings, so that dash
can now compile cleanly with it too.

This also makes the output of "scan-build make" more usable, however fixing
the issues found by the static analyzer is not something I am going to work on
anytime soon.

Ciao,
   Antonio

Antonio Ospite (2):
  Fix clang warnings about "string plus integer"
  Fix clang warnings about GNU old-style field designator

 src/eval.c   |  3 ++-
 src/jobs.c   |  3 ++-
 src/output.c | 12 ++++++------
 3 files changed, 10 insertions(+), 8 deletions(-)