diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-16 00:04:40 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-16 00:06:07 +0100 |
commit | 16f4efb4150c65e3c61adaa8ea512489de49f532 (patch) | |
tree | 560c9153a20609ce3c6f088f01270f79357c8d82 /Makefile.am | |
parent | Fix a few signed/unsigned format string issues (diff) | |
download | systemd-16f4efb4150c65e3c61adaa8ea512489de49f532.tar.xz systemd-16f4efb4150c65e3c61adaa8ea512489de49f532.zip |
build-sys: add cppcheck target
This uses --enable=all mode. Should be taken with a grain of salt
though. While many recommendations make sense we should probably keep
"int r" always on function scope, and many of the portability warnings
really don't matter to us because we only care for Linux/glibc.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index ca4c5f87c2..fa57559bda 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4966,3 +4966,6 @@ tests += \ test-libsystemd-journal-sym \ test-libsystemd-login-sym \ test-libudev-sym + +cppcheck: + cppcheck --enable=all $(top_srcdir) |