[PATCH 0/2] Fixing clang compilation warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux