mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03: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:
parent
b5dd814873
commit
16f4efb415
@ -4966,3 +4966,6 @@ tests += \
|
||||
test-libsystemd-journal-sym \
|
||||
test-libsystemd-login-sym \
|
||||
test-libudev-sym
|
||||
|
||||
cppcheck:
|
||||
cppcheck --enable=all $(top_srcdir)
|
||||
|
Loading…
Reference in New Issue
Block a user