mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 05:32:02 +00:00
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.
This commit is contained in:
@@ -4966,3 +4966,6 @@ tests += \
|
||||
test-libsystemd-journal-sym \
|
||||
test-libsystemd-login-sym \
|
||||
test-libudev-sym
|
||||
|
||||
cppcheck:
|
||||
cppcheck --enable=all $(top_srcdir)
|
||||
|
||||
Reference in New Issue
Block a user